2004-09-02 Michael Chastain <mec.gnu@mindspring.com>

* gdb.base/sigstep.exp (advance): Use "-continue_timer" option
	of "exp_continue".
	(advancei): Likewise.
This commit is contained in:
Michael Chastain 2004-09-02 09:47:38 +00:00
parent ec2dfb4210
commit 714e341b13
2 changed files with 13 additions and 7 deletions

View File

@ -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.

View File

@ -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)"