aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/cpexprs.exp')
-rw-r--r--gdb/testsuite/gdb.cp/cpexprs.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp
index d7decaf5426..be4a5a1bc93 100644
--- a/gdb/testsuite/gdb.cp/cpexprs.exp
+++ b/gdb/testsuite/gdb.cp/cpexprs.exp
@@ -705,12 +705,12 @@ gdb_test "set listsize 1"
# "print METHOD"
foreach name [get_functions print] {
- gdb_test "print $name" [get $name print] "print $name"
+ gdb_test "print $name" [get $name print]
}
# "list METHOD"
foreach name [get_functions list] {
- gdb_test "list $name" [get $name list] "list $name"
+ gdb_test "list $name" [get $name list]
}
# Running to breakpoint -- use any function we can "list"