From 62172bb981450a1e9f6df8d5d56690582ec1b0b3 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 4 Apr 2008 22:59:28 +0000 Subject: * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads. * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets. --- gdb/testsuite/gdb.base/watch_thread_num.exp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gdb/testsuite/gdb.base') diff --git a/gdb/testsuite/gdb.base/watch_thread_num.exp b/gdb/testsuite/gdb.base/watch_thread_num.exp index 8715574..4d34d72 100644 --- a/gdb/testsuite/gdb.base/watch_thread_num.exp +++ b/gdb/testsuite/gdb.base/watch_thread_num.exp @@ -33,9 +33,8 @@ if [get_compiler_info ${binfile}] { return -1 } -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug libs=-lpthread}] != "" } { - untested watch_thread_num.exp - return -1 +if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { + return -1 } gdb_exit -- cgit v1.1