aboutsummaryrefslogtreecommitdiff
path: root/misc/.gdbinit
diff options
context:
space:
mode:
Diffstat (limited to 'misc/.gdbinit')
-rw-r--r--misc/.gdbinit30
1 files changed, 30 insertions, 0 deletions
diff --git a/misc/.gdbinit b/misc/.gdbinit
new file mode 100644
index 0000000..8923c3b
--- /dev/null
+++ b/misc/.gdbinit
@@ -0,0 +1,30 @@
+print static-members off
+set print frame-arguments all
+handle SIGUSR1 nostop noprint
+handle SIGUSR2 nostop noprint
+handle SIGWAITING nostop noprint
+handle SIGLWP nostop noprint
+handle SIGPIPE nostop
+handle SIGALRM nostop
+handle SIGHUP nostop
+handle SIGTERM nostop noprint
+handle SIG32 nostop noprint
+handle SIG33 nostop noprint
+alias ud = undisplay
+alias wl = watch -l
+alias awl = awatch -l
+alias rwl = rwatch -l
+set history save on
+set history filename ~/.gdb_history
+set history remove-duplicates unlimited
+set history size unlimited
+set history expansion on
+set print object on
+alias pvtable = print /a (*(void ***))
+set unwindonsignal on
+set print vtbl on
+set print pretty on
+# rr
+alias rf = reverse-finish
+
+source ~/.gdbinit_local