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