Index: gdb/testsuite/gdb.threads/thread_events.exp |
diff --git a/gdb/testsuite/gdb.threads/thread_events.exp b/gdb/testsuite/gdb.threads/thread_events.exp |
index 176c90ba5039baf0402b7a138c0c5139a20f0493..61bf69d2671ad28cef31be545d3693ad525ab685 100644 |
--- a/gdb/testsuite/gdb.threads/thread_events.exp |
+++ b/gdb/testsuite/gdb.threads/thread_events.exp |
@@ -33,16 +33,10 @@ if [is_remote target] then { |
return |
} |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
-set testfile "thread_events" |
-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 |
} |