GCC, stabs, mangled names
David Carlton
carlton@math.stanford.edu
Tue Mar 11 17:06:00 GMT 2003
On Mon, 10 Mar 2003 23:55:05 -0600, Michael Elizabeth Chastain <mec@shout.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@math.stanford.edu
More information about the Gdb
mailing list