Index: gdb/testsuite/gdb.mi/mi2-pthreads.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-pthreads.exp b/gdb/testsuite/gdb.mi/mi2-pthreads.exp |
index 8acc7ced98737df85c67977317dd9c4cd4fd94d3..37f325e50b872434e7463925d860964801229302 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-pthreads.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-pthreads.exp |
@@ -55,11 +55,9 @@ proc check_mi_thread_command_set {} { |
# |
# Start here |
# |
-set testfile "pthreads" |
-set srcfile "$testfile.c" |
-set binfile "$objdir/$subdir/mi2-$testfile" |
+standard_testfile pthreads.c |
-set options [list debug incdir=$objdir] |
+set options [list debug] |
if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { |
return -1 |
} |