Index: gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp b/gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp |
index d87dc9c882869f422b9a96542f40c118663a00c4..ee49890ee7d22952ac3c5d66bc8f2dd491fbb4a3 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp |
@@ -19,10 +19,8 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile "dw2-empty-pc-range" |
-set srcfile ${testfile}.S |
-set executable ${testfile}.x |
-set binfile ${objdir}/${subdir}/${executable} |
+standard_testfile .S |
+set executable ${testfile} |
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {}] != "" } { |
return -1 |