X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.gdbinit;h=ecf313227f264abf5b71afbcd049c7b42c3753b0;hb=9f199dc52428f2ccb713554d791f8e1ed6b0de2a;hp=f60ba04d6f9e7ff8fd5ecdc2a9abb7c665010b8f;hpb=676d32680ce953572d713c9d4651b24fdffdcd85;p=nethome.git diff --git a/.gdbinit b/.gdbinit index f60ba04..ecf3132 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,26 +1,31 @@ -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 # clear $arg0 end define ct - break $arg0 + tbreak $arg0 continue - clear $arg0 end define rtl - break main - run - clear main + start break $arg0 continue # clear $arg0 end +define javadump + call _Jv_DeepDebug($arg0) + end define pglist3 if (*("$arg1")=='@') set var $arg1=struct $arg1 + end set var $pglist_list=$arg0 while ($pglist_list) if (!strcmp("$arg2","."))