This is the mail archive of the 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]

[RFA 1/3] dwarf2_physname - cpexprs.exp


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.


2009-11-20  Keith Seitz  <>

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

Attachment: cpexprs.patch
Description: Text document

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