X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.gdbinit;h=ecf313227f264abf5b71afbcd049c7b42c3753b0;hb=9c29e5abcd18d0e7f27dabc3df90d5e020b70776;hp=f27eca687aa1d2ac38a275534f48340a11f0e169;hpb=e6f54041686a5097c367d8331b173838524036a3;p=nethome.git diff --git a/.gdbinit b/.gdbinit index f27eca6..ecf3132 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,5 +1,9 @@ -set history filename /home/lace/.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