This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GCC, stabs, mangled names
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb at sources dot redhat dot com, drow at mvista dot com
- Date: 11 Mar 2003 09:06:21 -0800
- Subject: Re: GCC, stabs, mangled names
- References: <200303110555.h2B5t5K17176@duracef.shout.net>
On Mon, 10 Mar 2003 23:55:05 -0600, Michael Elizabeth Chastain <mec at shout dot net> said:
> Hi David,
>> Is there a problem with gcc -gstabs+ and mangled names in recent
>> GCC's?
> What do you mean by "recent GCC's"?
> gcc 3.2.2 and gcc gcc-3_2-branch are fine.
I tested 3.1 and saw that stabs doesn't give mangled names. I don't
have 3.2.2 on this machine; but, according to your tests there are
regressions on namespace.exp tests with -gstabs+ from 2.95.3 to 3.2.2,
which makes me suspect that the same problem is still there in 3.2.2.
What's the output of gcc -gstabs+ -S -dA on this file for 3.2.2?
namespace C {
namespace D {
int cd = 1;
}
}
David Carlton
carlton at math dot stanford dot edu