X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.dwarf2%2Fimplref-struct.exp;h=b82f5abda1ce3bbee785bf157666ef23f29554e8;hb=5b362f04b2a56d446b024027963be52d61f939cb;hp=49967e37e6fbdbdc1a911a9d203e5516adc9e397;hpb=7dc53023ec5d000b3b8d287720ed8d04d91e02ec;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.dwarf2/implref-struct.exp b/gdb/testsuite/gdb.dwarf2/implref-struct.exp index 49967e37e6..b82f5abda1 100644 --- a/gdb/testsuite/gdb.dwarf2/implref-struct.exp +++ b/gdb/testsuite/gdb.dwarf2/implref-struct.exp @@ -40,8 +40,7 @@ set asm_file [standard_output_file ${srcfile2}] # For that, we ask GDB by debugging our implref-struct program. # Any program would do, but since we already have implref-struct # specifically for this testcase, might as well use that. -if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug c++}] { - untested ${testfile}.exp +if [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}] { return -1 } @@ -130,7 +129,7 @@ Dwarf::assemble ${asm_file} { } } -if [prepare_for_testing ${testfile}.exp ${executable} [list ${asm_file} ${srcfile}] {}] { +if [prepare_for_testing "failed to prepare" ${executable} [list ${asm_file} ${srcfile}] {}] { return -1 }