From: uweigand Date: Fri, 4 Apr 2008 22:59:28 +0000 (+0000) Subject: * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads. X-Git-Tag: pre-ripout-set_console_state_for_spawn~852 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=102bd84955d4d85324776e0de7cc1bdd40d5c0b9;p=pf3gnuchains%2Fpf3gnuchains4x.git * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads. * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 64e61b4c52..570e0cb590 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-04-04 Ulrich Weigand + + * 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 * 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 871557408b..4d34d72e17 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 39906f6968..f56067ac43 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