aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.cp/static-method.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5589512..1acccd5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-18 Tom Tromey <tromey@redhat.com>
+
+ * gdb.cp/static-method.exp: Add missing single quote.
+
2011-07-18 Yao Qi <yao@codesourcery.com>
* gdb.base/async-shell.exp: Skip test if displaced stepping is not
diff --git a/gdb/testsuite/gdb.cp/static-method.exp b/gdb/testsuite/gdb.cp/static-method.exp
index 9867c2c..e4a767e 100644
--- a/gdb/testsuite/gdb.cp/static-method.exp
+++ b/gdb/testsuite/gdb.cp/static-method.exp
@@ -70,7 +70,7 @@ foreach test $methods {
# with the filename pre-pended.
gdb_test "list ${srcfile}:$test" $result
gdb_test "list '${srcfile}:$test'" $result
- gdb_test "list '${srcfile}':$test'" $result
+ gdb_test "list '${srcfile}':'$test'" $result
gdb_test "list ${srcfile}:'$test'" $result
# Test setting and hitting a breakoint at the function/method.