[RFA 1/3] dwarf2_physname - cpexprs.exp

Keith Seitz keiths@redhat.com
Fri Nov 20 21:08:00 GMT 2009


Hi,

A while ago, we discussed this patch, which essentially removes gdb's 
dependence on DW_AT_MIPS_linkage_name. I've been using this patchset on 
my Archer branch (archer-keiths-expr-cumulative) for quite some time.

The patches attempt to fix a bunch of C++ expression parsing problems in 
three areas:

1) Symbol lookups
2) linespecs
3) parsing

I've already separately addressed #3, and these patches now attempt to 
address the remaining two areas.

I'm starting this whole process of by submitting my "realcpp" tests from 
the archer branch (which I've renamed). These tests are far more 
involved than gdb's simplistic testsuite/gdb.cp tests. [Of course, there 
is still plenty more to test/add!]

Running these tests on CVS HEAD currently gives (go ahead, try it: I 
dare you :-):

		=== gdb Summary ===

# of expected passes		77
# of unexpected failures	54
# of unresolved testcases	123

Not good -- gdb crashes along the way.

However, with this entire patchset applied, all 378 test in cpexprs.exp 
will pass.

Comments/questions/concerns?
Keith

testsuite/ChangeLog
2009-11-20  Keith Seitz  <keiths@redhat.com>

         * gdb.cp/cpexprs.exp: New file.
         * gdb.cp/cpexprs.cc: New file.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpexprs.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20091120/37bee1a7/attachment.ksh>


More information about the Gdb-patches mailing list