* gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
one test.
This commit is contained in:
parent
cdb21a0a5b
commit
2ed91d1b8b
|
@ -1,3 +1,8 @@
|
||||||
|
2010-08-26 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
|
||||||
|
one test.
|
||||||
|
|
||||||
2010-08-24 Doug Evans <dje@google.com>
|
2010-08-24 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
PR symtab/11942
|
PR symtab/11942
|
||||||
|
|
|
@ -121,15 +121,21 @@ mi_check_thread_states \
|
||||||
# goes wrong with moribund locations support or displaced stepping (or
|
# goes wrong with moribund locations support or displaced stepping (or
|
||||||
# a target bug if it can step over breakpoints itself), a spurious
|
# a target bug if it can step over breakpoints itself), a spurious
|
||||||
# SIGTRAP/SIGSEGV can come at any time after deleting the breakpoint.
|
# SIGTRAP/SIGSEGV can come at any time after deleting the breakpoint.
|
||||||
|
# Note that this causes multiple prompts to appear before the output
|
||||||
|
# we are interested in, so we can't use mi_gdb_test or
|
||||||
|
# gdb_test_multiple (or an MI equivalent)
|
||||||
|
|
||||||
gdb_test_multiple "102-break-delete\nprint done = 1\n103-exec-continue --all" \
|
send_gdb "102-break-delete\n"
|
||||||
"resume all, program exited normally" {
|
send_gdb "print done = 1\n"
|
||||||
-re "\\*stopped,reason=\"exited-normally\"" {
|
send_gdb "103-exec-continue --all\n"
|
||||||
pass "resume all, program exited normally"
|
|
||||||
}
|
gdb_expect {
|
||||||
-re "\\*stopped" {
|
-re "\\*stopped,reason=\"exited-normally\"" {
|
||||||
fail "unexpected stop"
|
pass "resume all, program exited normally"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
timeout {
|
||||||
|
fail "resume all, waiting for program exit (timeout)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mi_gdb_exit
|
mi_gdb_exit
|
||||||
|
|
Loading…
Reference in New Issue