aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.threads/print-threads.exp7
2 files changed, 13 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c19f3f5..8b5cfd4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,4 +1,9 @@
-2003-06-22 Michael Chastain <mec@shout.net>
+2003-06-29 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
+ gdb/1265.
+
+2003-06-28 Michael Chastain <mec@shout.net>
Daniel Jacobowitz <drow@mvista.com>
* 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 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)"
}