-# Copyright 2012-2013 Free Software Foundation, Inc.
+# Copyright 2012-2021 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
standard_testfile .cc
-if {[prepare_for_testing "$testfile.exp" $testfile $srcfile {c++ debug}]} {
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile {c++ debug}]} {
return -1
}
foreach l $labels {
set line [gdb_get_line_number "$m:$l"]
gdb_test "break foo::$m:$l" \
- "Breakpoint $decimal at $hex: file .*/$srcfile, line $line\."
+ "Breakpoint $decimal at $hex: file .*$srcfile, line $line\."
}
}