X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.gdbinit;h=ecf313227f264abf5b71afbcd049c7b42c3753b0;hp=4945497d87ce65539a4d8c963c7fa18b0df0212f;hb=2834a1a303fcc0865f713ba2d4cdf9c486e30d27;hpb=b5a66fdb148e0023de0886b464ad3bee0a1a5c07 diff --git a/.gdbinit b/.gdbinit index 4945497..ecf3132 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,5 +1,9 @@ -set history filename /home/short/.gdb_history +# 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 @@ -10,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