diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/overload.exp | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a12c446..fb9cac8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-08-02 Tom Tromey <tromey@redhat.com> + + PR gdb/11289: + * gdb.cp/overload.exp: Fix regexps. Remove kfails. + 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/13045 diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp index 8f312e4..adfd770 100644 --- a/gdb/testsuite/gdb.cp/overload.exp +++ b/gdb/testsuite/gdb.cp/overload.exp @@ -315,13 +315,10 @@ gdb_test "list '${srcfile}:intToChar(char)'" "int intToChar.*" gdb_test "list '${srcfile}':intToChar(char)" "int intToChar.*" gdb_test "list '${srcfile}':'intToChar(char)'" "int intToChar.*" -# And with filename and namespace... which does not work. +# And with filename and namespace. -setup_kfail gdb/11289 *-*-* -gdb_test "list ${srcfile}:foo::overloadfnarg(int)" "int foo::overloadfnarg" - -setup_kfail gdb/11289 *-*-* -gdb_test "list ${srcfile}:'foo::overloadfnarg(int)'" "int foo::overloadfnarg" +gdb_test "list ${srcfile}:foo::overloadfnarg(int)" "int foo::overloadfnarg.*}" +gdb_test "list ${srcfile}:'foo::overloadfnarg(int)'" "int foo::overloadfnarg.*}" # Now some tests to see how overloading and namespaces interact. |