summaryrefslogtreecommitdiff
path: root/gdbinit
blob: e88ca29f3174d120870e374602f71491ecf32b41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# dotfiles -- gdbinit
# author: johannst

set history filename ~/.gdb/gdb_history
set history save on

set prompt \033[31mdo_wizardry> \033[0m

set disassembly-flavor intel

set breakpoint pending on

define bs
	save breakpoints ~/.gdb/breakpoint.$arg0.save
end

define br
	source ~/.gdb/breakpoint.$arg0.save
end

define hook-quit
	bs q
end