Index: gdb/testsuite/gdb.mi/mi-stack.exp |
diff --git a/gdb/testsuite/gdb.mi/mi-stack.exp b/gdb/testsuite/gdb.mi/mi-stack.exp |
index 6c0d625990dcbef5aa335d1d10c16f19e8599de6..d743c68d5ad55fc3dff89f837ea39cdf62d1a0eb 100644 |
--- a/gdb/testsuite/gdb.mi/mi-stack.exp |
+++ b/gdb/testsuite/gdb.mi/mi-stack.exp |
@@ -31,10 +31,9 @@ if [mi_gdb_start] { |
continue |
} |
-set testfile "mi-stack" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DFAKEARGV}] != "" } { |
+standard_testfile |
+ |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi-stack.exp |
return -1 |
} |