From: Tom Tromey Date: Tue, 2 Aug 2011 20:59:44 +0000 (+0000) Subject: PR gdb/11289: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c26106c40af7cf27bf2dea59c7f31d2cfca152b4;p=binutils-gdb.git PR gdb/11289: * gdb.cp/overload.exp: Fix regexps. Remove kfails. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a12c446a23e..fb9cac85986 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-08-02 Tom Tromey + + PR gdb/11289: + * gdb.cp/overload.exp: Fix regexps. Remove kfails. + 2011-08-01 Paul Pluzhnikov PR gdb/13045 diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp index 8f312e452a8..adfd7700d65 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.