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: Daniel Jacobowitz <drow at false dot org>
- 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 18:55:50 -0400
- Subject: Re: Constructor names in the symbol table
- References: <vt2u0twoe6x.fsf@zenia.home>
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.
--
Daniel Jacobowitz