summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-06-29 19:29:42 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-06-29 19:29:42 +0000
commit4cae8bbc5c8b4ca02f9db0ef8c4bb2fad3e0feb1 (patch)
tree76dd983811620ad9ba9d5aae371bc7a1487505ef /gdb/testsuite/gdb.threads
parent175aa3c1d94b362400489c66a6be152e67fcf02c (diff)
downloadgdb-4cae8bbc5c8b4ca02f9db0ef8c4bb2fad3e0feb1.tar.gz
* gdb.threads/print-threads.exp (test_all_threads): Add kfail for
gdb/1265.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/print-threads.exp7
1 files changed, 7 insertions, 0 deletions
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)"
}