Index: gdb/testsuite/gdb.mi/mi2-regs.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-regs.exp b/gdb/testsuite/gdb.mi/mi2-regs.exp |
index d9a63d1e8830565c56789acc4c05e6a4e9125de3..8ddf89465af1bdee8ac30173d8126d4e3cb6762c 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-regs.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-regs.exp |
@@ -30,10 +30,9 @@ if [mi_gdb_start] { |
continue |
} |
-set testfile "basics" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/mi2-regs |
-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-regs.exp |
return -1 |
} |