OSDN Git Service

* gdb.threads/print-threads.exp (test_all_threads): Add kfail for
authordrow <drow>
Sun, 29 Jun 2003 19:29:42 +0000 (19:29 +0000)
committerdrow <drow>
Sun, 29 Jun 2003 19:29:42 +0000 (19:29 +0000)
gdb/1265.

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

index c19f3f5..8b5cfd4 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 60a106a..71ee589 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)"
        }