Index: gdb/testsuite/gdb.dwarf2/implptr.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/implptr.exp b/gdb/testsuite/gdb.dwarf2/implptr.exp |
index 55181e44c37342b8082c838767c137e229d2c254..a510516e4ea9cd8387deac372bf961df4242d650 100644 |
--- a/gdb/testsuite/gdb.dwarf2/implptr.exp |
+++ b/gdb/testsuite/gdb.dwarf2/implptr.exp |
@@ -21,10 +21,8 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile "implptr" |
-set srcfile ${testfile}.S |
+standard_testfile .S |
set csrcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile}.x |
set opts {} |
if [info exists COMPILE] { |
@@ -36,7 +34,7 @@ if [info exists COMPILE] { |
return 0 |
} |
-if {[prepare_for_testing ${testfile}.exp ${testfile}.x $srcfile $opts]} { |
+if {[prepare_for_testing ${testfile}.exp ${testfile} $srcfile $opts]} { |
return -1 |
} |