aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/print-threads.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-29 19:29:42 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-29 19:29:42 +0000
commitf56973f819c159040e74677a144b43f1ebad1b1b (patch)
tree4b19e439c95cd7e53832ea9896488a7927cfad6d /gdb/testsuite/gdb.threads/print-threads.exp
parenta6f5b2c3bf2f155d743bbf38912282c09ad8f08b (diff)
downloadgdb-f56973f819c159040e74677a144b43f1ebad1b1b.zip
gdb-f56973f819c159040e74677a144b43f1ebad1b1b.tar.gz
gdb-f56973f819c159040e74677a144b43f1ebad1b1b.tar.bz2
* gdb.threads/print-threads.exp (test_all_threads): Add kfail for
gdb/1265.
Diffstat (limited to 'gdb/testsuite/gdb.threads/print-threads.exp')
-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 60a106a..71ee589 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)"
}