Index: gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp b/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp |
index ac0f95ffc265cbc7ee049d143e3d4a244604587d..a810f7c012411bd6dd0412b222d1445cf08b7211 100644 |
--- a/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp |
+++ b/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp |
@@ -19,11 +19,9 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile "implptr-optimized-out" |
-set srcfile ${testfile}.S |
+standard_testfile .S |
set mainfile main.c |
set executable ${testfile} |
-set binfile ${objdir}/${subdir}/${executable} |
if [prepare_for_testing ${testfile}.exp $executable "${srcfile} ${mainfile}" {}] { |
return -1 |