Index: gdb/testsuite/gdb.base/nodebug.exp |
diff --git a/gdb/testsuite/gdb.base/nodebug.exp b/gdb/testsuite/gdb.base/nodebug.exp |
index 477c01b96f10760dab75fcc02f6297c65a4d2c15..a5b0f38310b0d68f0e365b40d7bb5d0fbcd839d1 100644 |
--- a/gdb/testsuite/gdb.base/nodebug.exp |
+++ b/gdb/testsuite/gdb.base/nodebug.exp |
@@ -16,16 +16,12 @@ |
# Test that things still (sort of) work when compiled without -g. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
set testfile nodebug |
set srcfile $srcdir/$subdir/$testfile.c |
set binfile $objdir/$subdir/$testfile |
-if [get_compiler_info ${binfile}] { |
+if [get_compiler_info] { |
return -1; |
} |