This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/1170: gdb-5.3 just doesn't work on aix5.1


The following reply was made to PR gdb/1170; it has been noted by GNATS.

From: Michael Veksler <VEKSLER@il.ibm.com>
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: gdb/1170: gdb-5.3 just doesn't work on aix5.1
Date: Mon, 20 Sep 2004 12:46:02 +0300

 It seems that /bin/as is allowed to reorder stab strings.
 GDB should not depend on stabstring order.
 I checked this with GDB-5.0 and it does not crash, but
 'ptype Y' (see previous comment), prints:
     static struct <unknown> secondInt;
 
 It seems that in gdb-5.3, it no longer prints 'struct <unknown>',
 it fails the assertion instead.
 
 Now, it looks more like a GDB bug rather than GCC on /bin/as.
 
 Of course, one could argue that GCC should not emit and use
 a new type-id in this case and hence avoid the problem.
 Other people would argue that even if GCC was modified, the
 bug in GDB would be still there (buried deep, waiting to
 be rediscovered later).
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]