X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.gdbinit;h=ecf313227f264abf5b71afbcd049c7b42c3753b0;hb=419f1f9c280d7b56293cb17ceab969ed32c9d2e1;hp=68597bffb4dead7558a5f7d5eb7c20ac9fa095ae;hpb=b5527eeeccc01a574b1324038527f0be786b73d2;p=nethome.git diff --git a/.gdbinit b/.gdbinit index 68597bf..ecf3132 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,6 +1,9 @@ -# Appears to be a default everywhere now: -#set history filename /home/lace/.gdb_history -#set history save on +# See .bashrc: export GDBHISTFILE="$HOME/.gdb_history" +# Should also work (untested): +# set history filename ~/.gdb_history +set history save on +# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106814 +set complaints 0 define rt break $arg0 run @@ -11,12 +14,14 @@ define ct continue end define rtl - tbreak main - run + start break $arg0 continue # clear $arg0 end +define javadump + call _Jv_DeepDebug($arg0) + end define pglist3 if (*("$arg1")=='@') set var $arg1=struct $arg1