* gdb.threads/pthreads.exp: Wait for output and delay
before sending ^C.
This commit is contained in:
parent
1f08dafd5a
commit
8f0cbc1ca3
@ -1,3 +1,8 @@
|
|||||||
|
2001-10-01 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* gdb.threads/pthreads.exp: Wait for output and delay
|
||||||
|
before sending ^C.
|
||||||
|
|
||||||
2001-10-01 Daniel Jacobowitz <drow@mvista.com>
|
2001-10-01 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
|
* gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
|
||||||
|
@ -248,6 +248,15 @@ proc check_control_c {} {
|
|||||||
|
|
||||||
# Send a continue followed by ^C to the process to stop it.
|
# Send a continue followed by ^C to the process to stop it.
|
||||||
send_gdb "continue\n"
|
send_gdb "continue\n"
|
||||||
|
gdb_expect {
|
||||||
|
-re "Continuing." {
|
||||||
|
pass "Continue with all threads running"
|
||||||
|
}
|
||||||
|
timeout {
|
||||||
|
fail "Continue with all threads running (timeout)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sleep 1
|
||||||
set description "Stopped with a ^C"
|
set description "Stopped with a ^C"
|
||||||
after 1000 [send_gdb "\003"]
|
after 1000 [send_gdb "\003"]
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
|
Loading…
Reference in New Issue
Block a user