* windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH
[deliverable/binutils-gdb.git] / gdb / gdbinit.in
index af97d2cae3d6739ad8976ef8abac47469dcf5d32..ffb7f53b5007788a8177382a903c53587de7a540 100644 (file)
@@ -2,7 +2,7 @@ echo Setting up the environment for debugging gdb.\n
 
 set complaints 1
 
-b fatal
+b internal_error
 
 b info_command
 commands
@@ -10,9 +10,25 @@ commands
        return
 end
 
-dir @srcdir@
-dir .
-dir @srcdir@/../mmalloc
 dir @srcdir@/../libiberty
 dir @srcdir@/../bfd
+dir @srcdir@
+dir .
 set prompt (top-gdb) 
+
+define pdie
+  if $argc == 1
+    call dump_die ($arg0, 1)
+  else
+    if $argc == 2
+      call dump_die ($arg0, $arg1)
+    else
+      printf "Syntax: pdie die [depth]\n"
+    end
+  end
+end
+
+document pdie
+Pretty print a DWARF DIE.
+Syntax: pdie die [depth]
+end
This page took 0.023167 seconds and 4 git commands to generate.