X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.gdbinit;h=47f30175d4ddc674a1e7a43b8c8c3f3ee94478cf;hb=97f75c2fa830cde7423ddbc87ff6096958a14064;hp=f60ba04d6f9e7ff8fd5ecdc2a9abb7c665010b8f;hpb=676d32680ce953572d713c9d4651b24fdffdcd85;p=nethome.git diff --git a/.gdbinit b/.gdbinit index f60ba04..47f3017 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,19 +1,21 @@ -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 + tbreak main run - clear main break $arg0 continue # clear $arg0 @@ -21,6 +23,7 @@ define rtl define pglist3 if (*("$arg1")=='@') set var $arg1=struct $arg1 + end set var $pglist_list=$arg0 while ($pglist_list) if (!strcmp("$arg2","."))