Index: gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp b/gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp |
index 3af2082d4f777ce21442bf3490a1ad1ec32d9661..5b8b5edfc61f1d1c23d87ef7f3cdd7544ba54ded 100644 |
--- a/gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp |
+++ b/gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp |
@@ -21,11 +21,9 @@ if {![dwarf2_support]} { |
if { [skip_cplus_tests] } { continue } |
-set testfile member-ptr-forwardref |
-set executable ${testfile} |
-set binfile ${objdir}/${subdir}/${executable}.x |
+standard_testfile .S |
-if { [gdb_compile "${srcdir}/${subdir}/${testfile}.S" ${binfile} object {debug}] != "" } { |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" ${binfile} object {debug}] != "" } { |
untested ${testfile}.exp |
return -1 |
} |