aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/data-loc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/data-loc.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/data-loc.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/data-loc.exp b/gdb/testsuite/gdb.dwarf2/data-loc.exp
index 2e460ca..31804f0 100644
--- a/gdb/testsuite/gdb.dwarf2/data-loc.exp
+++ b/gdb/testsuite/gdb.dwarf2/data-loc.exp
@@ -28,8 +28,7 @@ standard_testfile data-loc.c data-loc-dw.S
# Any program would do, but since we already have data-loc.c
# specifically for this testcase, might as well use that.
-if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } {
- untested ${testfile}.exp
+if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
return -1
}
@@ -121,7 +120,7 @@ Dwarf::assemble $asm_file {
# program using our debug info instead of the info generated by
# the compiler.
-if { [prepare_for_testing ${testfile}.exp ${testfile} \
+if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
return -1
}