From: Daniel Jacobowitz Date: Sun, 29 Jun 2003 19:29:42 +0000 (+0000) Subject: * gdb.threads/print-threads.exp (test_all_threads): Add kfail for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f56973f819c159040e74677a144b43f1ebad1b1b;p=binutils-gdb.git * gdb.threads/print-threads.exp (test_all_threads): Add kfail for gdb/1265. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c19f3f56b91..8b5cfd41e45 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,4 +1,9 @@ -2003-06-22 Michael Chastain +2003-06-29 Daniel Jacobowitz + + * gdb.threads/print-threads.exp (test_all_threads): Add kfail for + gdb/1265. + +2003-06-28 Michael Chastain Daniel Jacobowitz * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum diff --git a/gdb/testsuite/gdb.threads/print-threads.exp b/gdb/testsuite/gdb.threads/print-threads.exp index 60a106a050b..71ee5891a66 100644 --- a/gdb/testsuite/gdb.threads/print-threads.exp +++ b/gdb/testsuite/gdb.threads/print-threads.exp @@ -94,6 +94,13 @@ proc test_all_threads { name kill } { fail "all threads ran once ($name) (total $i threads ran)" } } + -re "Program received signal SIGTRAP.*Thread \[0-9\]* \\(zombie\\).*$gdb_prompt $" { + if { $kill == 1 } { + kfail "gdb/1265" "Running threads ($name) (zombie thread)" + } else { + fail "Running threads ($name) (unknown output)" + } + } -re "$gdb_prompt" { fail "Running threads ($name) (unknown output)" }