Index: gdb/testsuite/gdb.mi/mi2-read-memory.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-read-memory.exp b/gdb/testsuite/gdb.mi/mi2-read-memory.exp |
index 39e23c6b9e88ef2c35fa05414a55bfe17b14923e..17c957389a5875506c27507f1135d56076a9b0bd 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-read-memory.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-read-memory.exp |
@@ -33,10 +33,9 @@ if [mi_gdb_start] { |
continue |
} |
-set testfile "mi-read-memory" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DFAKEARGV}] != "" } { |
+standard_testfile mi-read-memory.c |
+ |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi2-read-memory.exp |
return -1 |
} |