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