Some hacks for the Firefox3 compatibility.
[nethome.git] / .gdbinit
index f60ba04..ecf3132 100644 (file)
--- 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 <jefyi6bzm6.fsf@sykes.suse.de> (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","."))