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