Index: gdb/testsuite/gdb.dwarf2/pieces.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/pieces.exp b/gdb/testsuite/gdb.dwarf2/pieces.exp |
index 58331c14bbf0c99594379501092419e6af5ca330..eb3b5dccb2c10cd05bfd1ac281a29133a761c10f 100644 |
--- a/gdb/testsuite/gdb.dwarf2/pieces.exp |
+++ b/gdb/testsuite/gdb.dwarf2/pieces.exp |
@@ -24,12 +24,10 @@ if {![is_x86_like_target]} { |
return 0 |
} |
-set testfile "pieces" |
-set srcfile ${testfile}.S |
+standard_testfile .S |
set csrcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile}.x |
-if {[prepare_for_testing ${testfile}.exp ${testfile}.x $srcfile]} { |
+if {[prepare_for_testing ${testfile}.exp ${testfile} $srcfile]} { |
return -1 |
} |