From f56973f819c159040e74677a144b43f1ebad1b1b Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 29 Jun 2003 19:29:42 +0000 Subject: [PATCH] * gdb.threads/print-threads.exp (test_all_threads): Add kfail for gdb/1265. --- gdb/testsuite/ChangeLog | 7 ++++++- gdb/testsuite/gdb.threads/print-threads.exp | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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)" } -- 2.30.2