summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/ambiguous.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/ambiguous.exp')
-rw-r--r--gdb/testsuite/gdb.cp/ambiguous.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/ambiguous.exp b/gdb/testsuite/gdb.cp/ambiguous.exp
index 3b20d89d009..82a4b95dd6a 100644
--- a/gdb/testsuite/gdb.cp/ambiguous.exp
+++ b/gdb/testsuite/gdb.cp/ambiguous.exp
@@ -35,7 +35,7 @@ if [get_compiler_info "c++"] {
if { [test_compiler_info gcc-*] } then { continue }
-if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
return -1
}