Index: gdb/testsuite/gdb.stabs/weird.exp |
diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp |
index 1569cdb52955c103ec42ec7fd7803907405fdbb8..78ceb68d401c4e42c8662c0afc0ba4ddd26f9a34 100644 |
--- a/gdb/testsuite/gdb.stabs/weird.exp |
+++ b/gdb/testsuite/gdb.stabs/weird.exp |
@@ -17,22 +17,12 @@ |
# Test that GDB properly ignores invalid stabs. |
# Also test that GDB can debug a .o file, and that it doesn't mind |
# a file that's more minimal than what a compiler normally puts out. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
-# If the test directory was not created by configure then skip |
-# this test. |
-if ![file isdirectory ${objdir}/${subdir}] then { |
- return 0 |
-} |
- |
set testfile weird |
-set srcfile ${objdir}/${subdir}/weird.s |
-set binfile ${objdir}/${subdir}/weirdx.o |
+set srcfile [standard_output_file weird.s] |
+set binfile [standard_output_file weirdx.o] |
-if { [ get_compiler_info "$binfile" ] } { |
+if { [ get_compiler_info ] } { |
return -1 |
} |