This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: So what is wrong with v3 C++
- To: Daniel Berlin <dan at cgsoftware dot com>
- Subject: Re: So what is wrong with v3 C++
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 02 Jul 2001 11:02:19 -0500
- Cc: GDB Discussion <gdb at sources dot redhat dot com>
- References: <npk81vrpbi.fsf@zwingli.cygnus.com><11832854.993867335@[192.168.0.106]><np3d8hsxoz.fsf@zwingli.cygnus.com> <87lmm9n4t6.fsf@cgsoftware.com>
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.