Index: gdb/testsuite/gdb.mi/mi-read-memory.exp |
diff --git a/gdb/testsuite/gdb.mi/mi-read-memory.exp b/gdb/testsuite/gdb.mi/mi-read-memory.exp |
index 4773c6d241d09844819a2e5c10a993ec8f992c3e..5d154ba7c58be546d40ec611e4b3a813cb34c3d8 100644 |
--- a/gdb/testsuite/gdb.mi/mi-read-memory.exp |
+++ b/gdb/testsuite/gdb.mi/mi-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 |
+ |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi-read-memory.exp |
return -1 |
} |