aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp b/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp
index 94eed7c..8a05b2e 100644
--- a/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp
+++ b/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp
@@ -28,8 +28,7 @@ standard_testfile dynarr-ptr.c dynarr-ptr-dw.S
# Any program would do, but since we already have dynarr-ptr.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
}
@@ -122,7 +121,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
}