aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-09-02 09:47:38 +0000
committerMichael Chastain <mec@google.com>2004-09-02 09:47:38 +0000
commit714e341b13e1cbf7bbc52336c9ca9525d4503b83 (patch)
tree8e2127494fc235bee9ddd6c9eba166ef662504c0
parentec2dfb421058c199bb2ba35368e9cc5f2c3e2284 (diff)
downloadgdb-714e341b13e1cbf7bbc52336c9ca9525d4503b83.zip
gdb-714e341b13e1cbf7bbc52336c9ca9525d4503b83.tar.gz
gdb-714e341b13e1cbf7bbc52336c9ca9525d4503b83.tar.bz2
2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/sigstep.exp (advance): Use "-continue_timer" option of "exp_continue". (advancei): Likewise.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/sigstep.exp14
2 files changed, 13 insertions, 7 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index fd6e696..e641093 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
+
+ * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
+ of "exp_continue".
+ (advancei): Likewise.
+
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: Fix so messages aren't duplicated.
diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp
index 988af2f..55de445 100644
--- a/gdb/testsuite/gdb.base/sigstep.exp
+++ b/gdb/testsuite/gdb.base/sigstep.exp
@@ -81,11 +81,11 @@ proc advance { i } {
gdb_test_multiple "$i" "${test}" {
-re "done = 1;.*${gdb_prompt} $" {
send_gdb "$i\n"
- exp_continue
+ exp_continue -continue_timer
}
-re "\} .. handler .*${gdb_prompt} $" {
send_gdb "$i\n"
- exp_continue
+ exp_continue -continue_timer
}
-re "Program exited normally.*${gdb_prompt} $" {
setup_kfail powerpc-*-*bsd* gdb/1639
@@ -123,11 +123,11 @@ proc advancei { i } {
}
-re "done = 1;.*${gdb_prompt} $" {
send_gdb "$i\n"
- exp_continue
+ exp_continue -continue_timer
}
-re "\} .. handler .*${gdb_prompt} $" {
send_gdb "$i\n"
- exp_continue
+ exp_continue -continue_timer
}
-re "signal handler called.*${gdb_prompt} $" {
pass "$test"
@@ -141,7 +141,7 @@ proc advancei { i } {
}
-re "Make handler return now.*y or n. $" {
send_gdb "y\n"
- exp_continue
+ exp_continue -continue_timer
}
}
@@ -152,14 +152,14 @@ proc advancei { i } {
}
-re "signal handler called.*${gdb_prompt} $" {
send_gdb "$i\n"
- exp_continue
+ exp_continue -continue_timer
}
-re "return .*${gdb_prompt} $" {
fail "$test (stepped)"
}
-re "Make .*frame return now.*y or n. $" {
send_gdb "y\n"
- exp_continue
+ exp_continue -continue_timer
}
-re "Program exited normally.*${gdb_prompt} $" {
kfail gdb/1639 "$test (program exited)"