[RFA] c++/11734
Keith Seitz
keiths@redhat.com
Tue Jun 22 01:22:00 GMT 2010
Hi,
c++/11734 involves being unable to set a breakpoint at a method defined
in a different CU from the class declaration. This regression occurs
because the dwarf2_physname patch removes the use of
DW_AT_MIPS_linkage_name.
[You might ask why this is. I refer you to c++/11734 for a more detailed
explanation of how gdb "appeared" to work prior to the dwarf2_physname
patch.]
The attached patch fixes this regression. While testing, I also noticed
a related issue with overloaded methods defined in multiple CUs, and
I've fixed that, too.
Questions/comments/concerns?
Keith
ChangeLog
2010-06-21 Keith Seitz <keiths@redhat.com>
c++/11734
* linespec.c (decode_compound): If saved_arg is surrounded
in single quotes, strip them.
* psymtab.c (lookup_partial_symbol): If the search name
contains overload information, expand any psymtabs that
match the un-overoaded name.
testsuite/ChangeLog
2010-06-21 Keith Seitz <keiths@redhat.com>
c++/11734
* gdb.cp/pr11734.exp: New test.
* gdb.cp/pr11734-1.cc, gdb.cp/pr11734-2.cc, gdb.cp/pr11734-3.cc,
gdb.cp/pr11734-4.cc, gdb.cp/pr11734.h: New files.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr11734.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100622/b9095ee5/attachment.ksh>
More information about the Gdb-patches
mailing list