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: Constructor names in the symbol table


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


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