* gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 4 Apr 2008 22:59:28 +0000 (22:59 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 4 Apr 2008 22:59:28 +0000 (22:59 +0000)
* gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watch_thread_num.exp
gdb/testsuite/gdb.cp/mb-templates.exp

index 64e61b4c52fd20bc161ca8a607bababef61fe37c..570e0cb5905aebf5caf45011f7697461059db980 100644 (file)
@@ -1,3 +1,9 @@
+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,
index 871557408b836456ce13db0d418947a7374fe171..4d34d72e178540612f298127b48a7742c5680993 100644 (file)
@@ -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
index 39906f6968f16ec42fbc077cfee732ccfdc4f85c..f56067ac437978821fe9a8c07f59386f7a42878b 100644 (file)
@@ -22,6 +22,11 @@ if $tracelevel then {
 
 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