]> git.wh0rd.org - home.git/blob - .gdbinit
import vapier-m
[home.git] / .gdbinit
1 set print pretty on
2 set prompt \e[30;1m(\e[34;1mgdb\e[30;1m)\e[0m
3 set history save on
4 set pagination off
5 set output-radix 16
6 set remotetimeout 300
7 #catch fork
8 #catch vfork
9
10 define exit
11 quit
12 end
13
14 define peedi
15 target remote peedi:2000
16 end
17 define jtag
18 target remote localhost:2000
19 end
20 define bfin
21 target remote bfin:1234
22 end
23
24 define dis
25 if $argc == 0
26 disassemble $pc ($pc + 0x40)
27 end
28 if $argc == 1
29 disassemble $arg0 ($arg0 + 0x40)
30 end
31 end
32
33 source /usr/local/src/blackfin/svn/toolchain/trunk/debug-helpers/gdb-scripts/bfin
34 source /usr/local/src/blackfin/svn/toolchain/trunk/debug-helpers/gdb-scripts/u-boot