]> git.wh0rd.org - home.git/blob - .gdbinit
add a vapier gdb target
[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 vapier
21 target remote vapier:2000
22 end
23 define bfin
24 target remote bfin:1234
25 end
26
27 define dis
28 if $argc == 0
29 disassemble $pc ($pc + 0x40)
30 end
31 if $argc == 1
32 disassemble $arg0 ($arg0 + 0x40)
33 end
34 end
35 define go
36 jump *$arg0
37 end
38
39 source /usr/local/src/blackfin/svn/toolchain/trunk/debug-helpers/gdb-scripts/bfin
40 source /usr/local/src/blackfin/svn/toolchain/trunk/debug-helpers/gdb-scripts/u-boot
41 source /usr/local/src/blackfin/git/toolchain/debug-helpers/gdb-scripts/bfin
42 source /usr/local/src/blackfin/git/toolchain/debug-helpers/gdb-scripts/u-boot