Index: gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp b/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp |
index 91d86ce73eb9f606f5f45dfcbd0259ba85d11cec..6f8a764cfb97630f1fa6ddac910050ac13a54e75 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp |
@@ -19,10 +19,8 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile "dw2-bad-parameter-type" |
-set srcfile ${testfile}.S |
-set executable ${testfile}.x |
-set binfile ${objdir}/${subdir}/${executable} |
+standard_testfile .S |
+set executable ${testfile} |
# First try referencing DW_AT_frame_base which is not defined. |
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {}] != "" } { |