PR gdb/11289:

* gdb.cp/overload.exp: Fix regexps.  Remove kfails.
This commit is contained in:
Tom Tromey 2011-08-02 20:59:44 +00:00
parent 3929df0978
commit c26106c40a
2 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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.