From f3601320ccda2569c08afd2b0840f236bff9a184 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 13 Oct 1994 20:36:04 +0000 Subject: [PATCH] * .gdbinit: Restore `end'; it was not excess. Reindent list-objfiles to make this clear. Comment out all of list-objfiles because old gdb's choke on it. --- gdb/.gdbinit | 19 +++++++++++-------- gdb/ChangeLog | 6 ++++++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/gdb/.gdbinit b/gdb/.gdbinit index f891689b034..97cb380667b 100644 --- a/gdb/.gdbinit +++ b/gdb/.gdbinit @@ -15,11 +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 +# 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 diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 766b9ef589e..7c07bf5beb0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Thu Oct 13 13:24:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * .gdbinit: Restore `end'; it was not excess. Reindent + list-objfiles to make this clear. Comment out all of + list-objfiles because old gdb's choke on it. + Wed Oct 12 23:19:08 1994 Ian Lance Taylor * config/mips/tm-bigmips64.h: Just define TARGET_BYTE_ORDER and -- 2.30.2