aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.threads/manythreads.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d571b5a..5597bc3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
+ * gdb.threads/manythreads.exp: Use $message string for
+ consistancy; add a default (timeout) case.
+
+2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
+
* gdb.base/watchpoint.exp: Fix truncated comment.
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp
index 7569f02..903a3b1 100644
--- a/gdb/testsuite/gdb.threads/manythreads.exp
+++ b/gdb/testsuite/gdb.threads/manythreads.exp
@@ -108,7 +108,10 @@ gdb_test_multiple "" "stop threads 2" {
exp_continue
}
-re "Program received signal SIGINT.*$gdb_prompt $" {
- pass "stop threads 2"
+ pass "$message"
+ }
+ timeout {
+ fail "$message (timeout)"
}
}