Index: gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp |
diff --git a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp |
index c5cf8cf968552e3ee6189ca1cf69070fa90172ab..8cf5b6cf5c8ff539447b70835b79a0cde534a465 100644 |
--- a/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp |
+++ b/gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp |
@@ -41,11 +41,9 @@ proc mi_nonstop_resume { command test } { |
# |
# Start here |
# |
-set testfile "ns-stale-regcache" |
-set srcfile "$testfile.c" |
-set binfile "$objdir/$subdir/mi-$testfile" |
+standard_testfile ns-stale-regcache.c |
-set options [list debug incdir=$objdir] |
+set options [list debug] |
if {[gdb_compile "$srcdir/$subdir/$srcfile" \ |
$binfile executable $options] != "" } { |
return -1 |