This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Constructor names in the symbol table
- From: David Carlton <david dot carlton at sun dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: David dot Carlton at sun dot com, gdb at sources dot redhat dot com
- Date: Fri, 17 Sep 2004 17:12:16 -0700
- Subject: Re: Constructor names in the symbol table
- References: <vt2u0twoe6x.fsf@zenia.home><20040917225550.GA12896@nevyn.them.org>
On Fri, 17 Sep 2004 18:55:50 -0400, Daniel Jacobowitz <drow@false.org> said:
> On Fri, Sep 17, 2004 at 03:03:50PM -0500, Jim Blandy wrote:
>> When I do something like set a breakpoint on S::S(int), I don't get
>> a match from the full symbol table; instead, I get a match on the
>> demangled names in the minimal symbol table.
>> Is this the way it's supposed to work? I would have expected
>> something in dwarf2read to have consulted processing_current_prefix
>> and produced a qualified name for the full symbol.
> I don't remember the details, but I believe this is part of the mess
> caused by normally using mangled names. But since the constructor
> is abstract, it doesn't have a mangled name.
> Probably producing a fully qualified name, when we don't have a
> linkage name, would work.
I tend to agree.
David Carlton
david.carlton@sun.com