aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-06-03 22:10:56 +0000
committerMichael Chastain <mec@google.com>2004-06-03 22:10:56 +0000
commit4013522b5c408deb4dd8a023a6477fa5872c9922 (patch)
treeda4870990fa268e475de934ad2bca09e0218ed3f /gdb
parentc8a3b559eb7f26309b473fd6dd9fc11b10de7001 (diff)
downloadgdb-4013522b5c408deb4dd8a023a6477fa5872c9922.zip
gdb-4013522b5c408deb4dd8a023a6477fa5872c9922.tar.gz
gdb-4013522b5c408deb4dd8a023a6477fa5872c9922.tar.bz2
2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
Fix PR gdb/1636. * gdb.threads/manythreads.exp: Change asynchronous 'after' calls to synchronous.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.threads/manythreads.exp6
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 0ba2bfb..5468b58 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
+
+ Fix PR gdb/1636.
+ * gdb.threads/manythreads.exp: Change asynchronous 'after'
+ calls to synchronous.
+
2004-05-26 Jim Blandy <jimb@redhat.com>
* gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp
index dcedd7f..a2baf84 100644
--- a/gdb/testsuite/gdb.threads/manythreads.exp
+++ b/gdb/testsuite/gdb.threads/manythreads.exp
@@ -60,7 +60,8 @@ gdb_test_multiple "continue" "first continue" {
}
# Send a Ctrl-C and verify that we can do info threads and continue
-after 1000 {send_gdb "\003"}
+after 1000
+send_gdb "\003"
set message "stop threads 1"
gdb_test_multiple "" "stop threads 1" {
-re "\\\[New \[^\]\]*\\\]\r\n" {
@@ -93,7 +94,8 @@ gdb_test_multiple "continue" "second continue" {
}
# Send another Ctrl-C and verify that we can do info threads and quit
-after 1000 {send_gdb "\003"}
+after 1000
+send_gdb "\003"
set message "stop threads 2"
gdb_test_multiple "" "stop threads 2" {
-re "\\\[New \[^\]\]*\\\]\r\n" {