aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-04-04 22:59:28 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-04-04 22:59:28 +0000
commit62172bb981450a1e9f6df8d5d56690582ec1b0b3 (patch)
tree0d53c2bbe14acbc654c58635b5be98d825626451
parenta13e061a1bfc6ba791d0bf1691e28785c81dea70 (diff)
downloadgdb-62172bb981450a1e9f6df8d5d56690582ec1b0b3.zip
gdb-62172bb981450a1e9f6df8d5d56690582ec1b0b3.tar.gz
gdb-62172bb981450a1e9f6df8d5d56690582ec1b0b3.tar.bz2
* gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
* gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/watch_thread_num.exp5
-rw-r--r--gdb/testsuite/gdb.cp/mb-templates.exp5
3 files changed, 13 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 64e61b4..570e0cb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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,
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
diff --git a/gdb/testsuite/gdb.cp/mb-templates.exp b/gdb/testsuite/gdb.cp/mb-templates.exp
index 39906f6..f56067a 100644
--- a/gdb/testsuite/gdb.cp/mb-templates.exp
+++ b/gdb/testsuite/gdb.cp/mb-templates.exp
@@ -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