Index: gdb/testsuite/gdb.dwarf2/pr11465.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/pr11465.exp b/gdb/testsuite/gdb.dwarf2/pr11465.exp |
index d6513f591882b8dccb11ea89a42e155220aa6b7f..22c50076398fca9904afebc542c5c6ee49acd82f 100644 |
--- a/gdb/testsuite/gdb.dwarf2/pr11465.exp |
+++ b/gdb/testsuite/gdb.dwarf2/pr11465.exp |
@@ -19,10 +19,7 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile "pr11465" |
-set srcfile "$testfile.S" |
-set executable "$testfile.x" |
-set binfile [file join $objdir $subdir $executable] |
+standard_testfile .S |
if [is_ilp32_target] { |
set ptrbits 32 |
@@ -35,7 +32,7 @@ if { [gdb_compile [file join $srcdir $subdir $srcfile] \ |
return -1 |
} |
-clean_restart $executable |
+clean_restart $testfile |
# Test delayed physname computations |
gdb_test "p N::c.C" { = {void \(N::C \* const, void \(\*\)\(N::C\)\)}.*} |