-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gdbinit
58 lines (49 loc) · 899 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
50
51
52
53
54
55
56
57
58
define cls
shell clear
dont-repeat
end
document cls
Clears the screen with a simple command
end
define argv
show args
end
document argv
Print program arguments
end
define functions
info functions
end
document functions
Print functions in target
end
define vars
info variables
end
document vars
Print variables (symbols) in target
end
define libs
info sharedlibrary
end
document libs
Print a list of the shared libraries linked to target
end
define locals
info locals
end
document locals
Print the names and values of all variables in the local scope. #Local variables of current stack frame.
end
set max-completions 100
set history remove-duplicates 1
# set history save
# set history filename ~/.gdb_history
# set print pretty on
# set logging overwrite off
# set logging on
#set exec-done-display
#set debug overload
#set debug timestamp
#set debug varobj ????
#set height 0