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]

Re: So what is wrong with v3 C++



Daniel Berlin <dan@cgsoftware.com> writes:
> Yes. The real problem we are running into, of course, is that types
> themselves have no mangled names.

Right, because they're not objects in memory.  They have no linker
symbol to name them, so we don't have anything to demangle and guess
the prefixes from.

> And if you fully qualified the name in the DW_AT_name attribute, you'd
> run into all sorts of problems because DWARF2 really *can* support the
> info we need, it just didn't output it. 

Doesn't Dwarf2 specify that it should be unqualified?  If it doesn't,
it should, it seems to me.


> So it's an obviously broken thing, because we have 0 chance of getting
> the info we need. it's simply not there.

Yep.


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