]> 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:43:58 +0000 (00:43 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 20 Nov 2002 00:43:58 +0000 (00:43 +0000)
Problems reported by Paul Eggert.
* gdbarch.sh: Use `sort -k 3`.

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 a610693eb040809611a2f642ef2ba07c01d907bc..eaee8e42c4dbc2ca1cdab09f4d4087ac4f5e1985 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`.
+
 2002-11-19  Andrew Cagney  <ac131313@redhat.com>
 
        From mainline:
index 3114353704b3f8100341c522b482885f507890b1..591b7f8adbb37c72b72088c7190cd62b981055a1 100644 (file)
@@ -1,3 +1,8 @@
+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'.
+
 2002-09-25  Kevin Buettner  <kevinb@redhat.com>
 
        * gdb.texinfo: Use GNU/Linux instead of Linux.
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 1ce71afa7c130343ad915dfe253ece0f5c62688d..c34d95883fff0733958a424875bc420694449230 100755 (executable)
@@ -1549,7 +1549,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