* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
[deliverable/binutils-gdb.git] / gdb / .gdbinit
index 2140f7f384e7c5f5b4ebb9cb56d58d2680e2d352..97cb380667bb11a6d4662275a4aadeb32562e7b1 100644 (file)
@@ -15,12 +15,14 @@ dir ../libiberty
 dir ../bfd
 set prompt (top-gdb) 
 
-define list-objfiles
-set $obj = object_files
-printf "objfile    bfd        msyms  name\n"
-while $obj != 0
-printf "0x%-8x 0x%-8x %6d %s\n", $obj, $obj->obfd, \
-  $obj->minimal_symbol_count, $obj->name
-set var $obj = $obj->next
-end
-end
+# This only works with recent (post-4.13) GDB's, but there is no way to
+# tell what version we are.  So leave it commented out for now.
+#define list-objfiles
+#  set $obj = object_files
+#  printf "objfile    bfd        msyms  name\n"
+#  while $obj != 0
+#    printf "0x%-8x 0x%-8x %6d %s\n", $obj, $obj->obfd, \
+#      $obj->minimal_symbol_count, $obj->name
+#    set var $obj = $obj->next
+#  end
+#end
This page took 0.023862 seconds and 4 git commands to generate.