This is the mail archive of the gdb@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: GCC, stabs, mangled names


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


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