]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-11-19 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 20 Nov 2002 00:47:59 +0000 (00:47 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 20 Nov 2002 00:47:59 +0000 (00:47 +0000)
Problems reported by Paul Eggert.
* gdbarch.sh: Use `sort -k 3`.  Fix PR gdb/527.

Index: doc/ChangeLog
2002-11-19  Andrew Cagney  <ac131313@redhat.com>

Fix POSIX problem reported by Paul Eggert.
* Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'.

gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/Makefile.in
gdb/gdbarch.sh

index 0029b7a66e68fd2aea2f19cb5e653a8aa4eecd54..7589bd3b15cf4b09aac9828270f344d5d255eebe 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-19  Andrew Cagney  <ac131313@redhat.com>
+
+       Problems reported by Paul Eggert.
+       * gdbarch.sh: Use `sort -k 3`.  Fix PR gdb/527.
+
 2002-11-19  Andreas Schwab  <schwab@suse.de>
 
        * m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP) 
@@ -47,6 +52,7 @@
        * gdb/parser-defs.h: (struct objc_class_str): New structure
        for parsing ObjC classes.
 
+>>>>>>> 1.3477
 2002-11-18  Andrew Cagney  <ac131313@redhat.com>
 
        * stack.c (frame_relative_level): Copy function from here ...
index 7f05283d24b9fb5a7491329de3b93f3445c7c1a7..564245e793ca3e2046b0556eb587bf14a7fd31c6 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-19  Andrew Cagney  <ac131313@redhat.com>
+
+       Fix POSIX problem reported by Paul Eggert.
+       * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'.
+       Fix PR gdb/527.
+
 2002-10-26  Andrew Cagney  <cagney@redhat.com>
 
        * gdbint.texinfo (Target Architecture Definition): Delete
index ba0031a50bca7c965881f3e8f6c3639805993d9e..80f39b301ca4efa500ea770c8209e6548bd8f3b3 100644 (file)
@@ -218,7 +218,7 @@ refcard.ps : refcard.dvi
 
 # File to record current GDB version number (copied from main dir version.in)
 GDBvn.texi : ${gdbdir}/version.in
-       echo "@set GDBVN `head -1 $(srcdir)/../version.in`" > ./GDBvn.new
+       echo "@set GDBVN `sed q $(srcdir)/../version.in`" > ./GDBvn.new
        mv GDBvn.new GDBvn.texi
 
 # Updated atomically
index f7f9a661d8e4340506b9092cef7af85cda303ef2..9bbce752d9e620b4521812012fa491d67447ad23 100755 (executable)
@@ -1562,7 +1562,7 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
                       "gdbarch_dump: GDB_MULTI_ARCH = %d\\n",
                       GDB_MULTI_ARCH);
 EOF
-function_list | sort -t: +2 | while do_read
+function_list | sort -t: -k 3 | while do_read
 do
     # multiarch functions don't have macros.
     if class_is_multiarch_p