* gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
+2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
+
+ * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
+
2008-04-04 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
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
if { [skip_cplus_tests] } { continue }
+# On SPU this test fails because the executable exceeds local storage size.
+if { [istarget "spu*-*-*"] } {
+ return 0
+}
+
set prms_id 0
set bug_id 0