From c26106c40af7cf27bf2dea59c7f31d2cfca152b4 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 2 Aug 2011 20:59:44 +0000 Subject: [PATCH] PR gdb/11289: * gdb.cp/overload.exp: Fix regexps. Remove kfails. --- gdb/testsuite/ChangeLog | 5 +++++ 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 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. -- 2.30.2