logo       

[patch/5.3] Fix some of the POSIX problems: msg#00498

Subject: [patch/5.3] Fix some of the POSIX problems
FYI,

I've committed the attached.  It fixes the local-to-gdb POSIX problems.
Plenty of top level problems remain though :-/

Andrew
2002-11-19  Andrew Cagney  <ac131313@xxxxxxxxxx>

        Problems reported by Paul Eggert.
        * gdbarch.sh: Use `sort -k 3`.  Fix PR gdb/527.

Index: doc/ChangeLog
2002-11-19  Andrew Cagney  <ac131313@xxxxxxxxxx>

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

Index: gdbarch.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.sh,v
retrieving revision 1.158
diff -u -r1.158 gdbarch.sh
--- gdbarch.sh  24 Aug 2002 00:21:34 -0000      1.158
+++ gdbarch.sh  20 Nov 2002 00:40:43 -0000
@@ -1549,7 +1549,7 @@
                       "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
Index: doc/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/doc/Makefile.in,v
retrieving revision 1.22
diff -u -r1.22 Makefile.in
--- doc/Makefile.in     25 Aug 2002 13:48:15 -0000      1.22
+++ doc/Makefile.in     20 Nov 2002 00:40:50 -0000
@@ -218,7 +218,7 @@
 
 # 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
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe