This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc 2/2] Follow DW_AT_linkage_name for methods [Re: The future of dwarf2_physname]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 2 Jun 2011 18:25:34 +0200
- Subject: Re: [rfc 2/2] Follow DW_AT_linkage_name for methods [Re: The future of dwarf2_physname]
- References: <4DD44983.7060406@redhat.com> <20110523131659.GA30344@host1.jankratochvil.net> <20110524212111.GB7747@host1.jankratochvil.net> <m3lixu3461.fsf@fleche.redhat.com> <4DE68663.7070408@redhat.com>
On Wed, 01 Jun 2011 20:35:15 +0200, Keith Seitz wrote:
> *** Using pre-physname:
[...]
> (gdb) b calltest(std::string)
> Breakpoint 1 at 0x40075c: file 12266.cc, line 5.
[...]
> *** Using DW_AT_linkage_name (Jan's patches):
[...]
> (gdb) b calltest(std::string)
> Function "calltest(std::string)" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) n
[...]
> *** Using 12266 patches (on top of Jan's DW_AT_linkage_name patches):
[...]
> (gdb) b calltest(std::string)
> Note: breakpoint 1 also set at pc 0x40075c.
> Breakpoint 2 at 0x40075c: file 12266.cc, line 5.
[...]
This is a regression by the physname patch which introduced DMGL_VERBOSE in
symbol_find_demangled_name, some other patches of mine being posted are going
to remove DMGL_VERBOSE there.
Thanks,
Jan