From: Andrew Cagney Date: Wed, 20 Nov 2002 00:43:58 +0000 (+0000) Subject: 2002-11-19 Andrew Cagney X-Git-Tag: gdb_5_3-2002-12-12-release~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6ee5babe978c47b99b301024d53bfa1912620df;p=thirdparty%2Fbinutils-gdb.git 2002-11-19 Andrew Cagney Problems reported by Paul Eggert. * gdbarch.sh: Use `sort -k 3`. Index: doc/ChangeLog 2002-11-19 Andrew Cagney Fix POSIX problem reported by Paul Eggert. * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a610693eb04..eaee8e42c4d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-11-19 Andrew Cagney + + Problems reported by Paul Eggert. + * gdbarch.sh: Use `sort -k 3`. + 2002-11-19 Andrew Cagney From mainline: diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 3114353704b..591b7f8adbb 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-19 Andrew Cagney + + Fix POSIX problem reported by Paul Eggert. + * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'. + 2002-09-25 Kevin Buettner * gdb.texinfo: Use GNU/Linux instead of Linux. diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index ba0031a50bc..80f39b301ca 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -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 diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 1ce71afa7c1..c34d95883ff 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -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