+.config/yt-dlp.conf
[nethome.git] / .gdbinit
index 6d168c4..8a01500 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,13 +1,3 @@
-add-auto-load-safe-path ~/src/stock
-add-auto-load-safe-path ~/src/interview/.gdbinit
-add-auto-load-safe-path ~/src/interview/asan/*-gdb.gdb
-add-auto-load-safe-path ~/src/toptal.com-codility.com/.gdbinit
-add-auto-load-safe-path ~/src/toptal.com-codility.com/asan/*-gdb.gdb
-define bt
-       disable frame-filter all
-       backtrace
-end
-
 set break pending on
 set style enabled off
 # See .bashrc: export GDBHISTFILE="$HOME/.gdb_history"
@@ -17,12 +7,21 @@ set history save on
 # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106814
 set complaints 0
 set record full insn-number-max 10000000
+define u
+       up
+end
+document u
+up
+end
 define javadump
        call _Jv_DeepDebug($arg0)
 end
 document javadump
 call _Jv_DeepDebug($arg0)
 end
+define pjstr
+       p *$arg0._body@$arg0._length
+end
 define pglist
        if (*("$arg1")=='@')
                set var $arg1=struct $arg1