-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gdbinit
60 lines (55 loc) · 1.25 KB
/
.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
50
51
52
53
54
55
56
57
58
# https://youtrack.jetbrains.com/issue/CPP-7090
set confirm off
set pagination off
set height unlimited
#set verbose on
#set logging on
set trace-commands on
set print inferior-events on
show debug-file-directory
set disassembly-flavor intel
set debug-file-directory /usr/lib/debug
directory ~/staging/glibc-2.31
directory ~/staging/glibc-2.31/elf
directory ~/staging/glibc-2.31/nptl
directory ~/staging/glibc-2.31/dlfcn
directory ~/staging/glibc-2.31/misc
directory ~/staging/glibc-2.31/csu
directory ~/staging/glibc-2.31/ctype
directory ~/staging/glibc-2.31/stdlib
directory ~/staging/glibc-2.31/sysdeps/x86_64
directory ~/staging/glibc-2.31/sysdeps/x86_64/multiarch
directory ~/git/c/coreutils/src
dir src
set breakpoint pending on
br _start
br _dl_start
br _dl_start_final
br _dl_start_user
br _dl_init
br _init
br dl-sysdep.c:117
br dl-sysdep.c:252
br rtld.c:449
br dl-init:118
br check_stdfiles_vtables
br _start
br libc-start.c:308
br libc-start.c:339
br libc-start.c:342
br main
br exit
br _exit
br __GI__exit
br __run_exit_handlers
br __call_tls_dtors
br _dl_fini
br _fini
br __on_exit
set mem inaccessible-by-default off
set follow-fork-mode parent
#set follow-fork-mode child
#set follow-exec-mode new
set follow-exec-mode old
set detach-on-fork off
catch fork