summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorMichael Chastain <mec.gnu@mindspring.com>2004-06-03 22:10:56 +0000
committerMichael Chastain <mec.gnu@mindspring.com>2004-06-03 22:10:56 +0000
commit0070c104edbb2c649caf6b65d3bfbd2086f058d9 (patch)
treeb8fd834741f982ce417a7aea9c93759e69af3d58 /gdb/testsuite/gdb.threads
parentb496e7856a69b87e5319fe5bd3a109c0d488c761 (diff)
downloadgdb-0070c104edbb2c649caf6b65d3bfbd2086f058d9.tar.gz
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/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/manythreads.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp
index dcedd7f30b9..a2baf846aa9 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" {