Index: gdb/testsuite/gdb.threads/thread-find.exp |
diff --git a/gdb/testsuite/gdb.threads/thread-find.exp b/gdb/testsuite/gdb.threads/thread-find.exp |
index cce83fc4164ba2a73ed7dc0bb57019a9ac4c1370..42932ffccdaa0977a85b2197ebe022e0616cc28f 100644 |
--- a/gdb/testsuite/gdb.threads/thread-find.exp |
+++ b/gdb/testsuite/gdb.threads/thread-find.exp |
@@ -16,20 +16,12 @@ |
# Please email any bugs, comments, and/or additions to this file to: |
# bug-gdb@gnu.org |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
-set testfile "linux-dp" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile linux-dp.c |
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 |