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