aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/overload-const.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/overload-const.exp')
-rw-r--r--gdb/testsuite/gdb.cp/overload-const.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/overload-const.exp b/gdb/testsuite/gdb.cp/overload-const.exp
index 75176b9..6b6056e 100644
--- a/gdb/testsuite/gdb.cp/overload-const.exp
+++ b/gdb/testsuite/gdb.cp/overload-const.exp
@@ -25,6 +25,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $testfile.cc {c++ debug}]
gdb_test_no_output "set language c++"
-if [gdb_breakpoint "myclass::func"] {
+if {[gdb_breakpoint "myclass::func"]} {
pass "setting breakpoint at myclass::func"
}