This is the mail archive of the gdb-patches@sourceware.org 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: [rfc 2/2] Follow DW_AT_linkage_name for methods [Re: The future of dwarf2_physname]


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


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