X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.gdbinit;h=ecf313227f264abf5b71afbcd049c7b42c3753b0;hp=1ac14b644339a349218fd1ae8ff836b4b8dd2799;hb=2834a1a303fcc0865f713ba2d4cdf9c486e30d27;hpb=9a428829240a05b3d43e2ff12c0526793b55c4c6 diff --git a/.gdbinit b/.gdbinit index 1ac14b6..ecf3132 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,6 +1,9 @@ # See .bashrc: export GDBHISTFILE="$HOME/.gdb_history" -#set history filename /home/lace/.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