Index: gdb/testsuite/gdb.threads/manythreads.exp |
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp |
index 1c13b427a183ded0a6d36a6dab7abd64bde792b0..c863ee19c6e9984a99c2038e4a3a0bb2b01581cd 100644 |
--- a/gdb/testsuite/gdb.threads/manythreads.exp |
+++ b/gdb/testsuite/gdb.threads/manythreads.exp |
@@ -16,22 +16,14 @@ |
# This file was written by Jeff Johnston. (jjohnstn@redhat.com) |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
-set testfile "manythreads" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
-if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "incdir=${objdir}"]] != "" } { |
+if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug] != "" } { |
return -1 |
} |
-gdb_start |
-gdb_reinitialize_dir $srcdir/$subdir |
-gdb_load ${binfile} |
+clean_restart ${binfile} |
gdb_test_no_output "set print sevenbit-strings" |
runto_main |