]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.threads/thread_events.exp
* gdb.threads/watchpoint-fork.exp (test): Use
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.threads / thread_events.exp
index 2b69eb8449d506f9b9eac0509f70cc8be5c3515a..61bf69d2671ad28cef31be545d3693ad525ab685 100644 (file)
@@ -34,11 +34,9 @@ if [is_remote target] then {
 }
 
 
-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
 }