X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.gdbinit;h=1ac14b644339a349218fd1ae8ff836b4b8dd2799;hb=cd42268c09e2ad566be30ab0b1f2ddd3fd246150;hp=f60ba04d6f9e7ff8fd5ecdc2a9abb7c665010b8f;hpb=676d32680ce953572d713c9d4651b24fdffdcd85;p=nethome.git diff --git a/.gdbinit b/.gdbinit index f60ba04..1ac14b6 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1,4 +1,5 @@ -set history filename /home/short/.gdb_history +# See .bashrc: export GDBHISTFILE="$HOME/.gdb_history" +#set history filename /home/lace/.gdb_history set history save on define rt break $arg0 @@ -6,14 +7,12 @@ define rt # 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 +20,7 @@ define rtl define pglist3 if (*("$arg1")=='@') set var $arg1=struct $arg1 + end set var $pglist_list=$arg0 while ($pglist_list) if (!strcmp("$arg2","."))