forked from timrc-git/mdbm
-
Notifications
You must be signed in to change notification settings - Fork 111
/
.gdbinit
49 lines (39 loc) · 943 Bytes
/
.gdbinit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Last modified: Wed Sep 28 17:32:33 2011
define wh
where
end
define exit
quit
end
set print demangle on
set print elements 2000
# Set listsize *after* print elements
set listsize 20
#stop sigsegv
handle SIGABRT stop
handle SIGBUS stop
handle SIGKILL stop
handle SIGQUIT stop
handle SIGSEGV stop
handle SIGTERM stop
#set follow-fork-mode parent
set follow-fork-mode child
show follow-fork-mode
# After modules have been loaded, breakpoints may be set in them.
#break main
#run
# Delete the breakpoint, so a subsequent `run' won't stop at it.
#delete 1
# After started, set scheduler-locking.
#set scheduler-locking on
# info threads -- show threads
# threads apply all backtrace -- backtrace for all threads
#
# Local variables:
# eval: (if (fboundp 'shell-script-mode) (shell-script-mode))
# eval: (auto-fill-mode 0)
# eval: (if (fboundp 'ts-mode) (ts-mode 1))
# comment-start: "#"
# comment-end: ""
# indent-tabs-mode: t
# End: