This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/1170: gdb-5.3 just doesn't work on aix5.1
- From: Michael Veksler <VEKSLER at il dot ibm dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 20 Sep 2004 09:48:00 -0000
- Subject: Re: gdb/1170: gdb-5.3 just doesn't work on aix5.1
- Reply-to: Michael Veksler <VEKSLER at il dot ibm dot com>
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).