* gdb.threads/print-threads.exp (test_all_threads): Add kfail for
authorDaniel Jacobowitz <drow@false.org>
Sun, 29 Jun 2003 19:29:42 +0000 (19:29 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 29 Jun 2003 19:29:42 +0000 (19:29 +0000)
gdb/1265.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/print-threads.exp

index c19f3f56b91a077a0b39cc18192d87f179417b0b..8b5cfd41e45a5693d4495e0fae9bbf0049fa6b81 100644 (file)
@@ -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
index 60a106a050bc50be6a1039c796fa9c7dc0c67715..71ee5891a66d2f932612da88faa80a52f8870b30 100644 (file)
@@ -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)"
        }