mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* lib/mi-support.exp (mi_run_to_helper): Move comments
outside of gdb_expect.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-12 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* lib/mi-support.exp (mi_run_to_helper): Move comments
|
||||||
|
outside of gdb_expect.
|
||||||
|
|
||||||
2001-11-11 Daniel Jacobowitz <drow@mvista.com>
|
2001-11-11 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
|
* lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
|
||||||
|
@ -701,6 +701,9 @@ proc mi_step { test } {
|
|||||||
# cmd should not include the number or newline (i.e. "exec-step 3", not
|
# cmd should not include the number or newline (i.e. "exec-step 3", not
|
||||||
# "220-exec-step 3\n"
|
# "220-exec-step 3\n"
|
||||||
|
|
||||||
|
# Can not match -re ".*\r\n${mi_gdb_prompt}", because of false positives
|
||||||
|
# after the first prompt is printed.
|
||||||
|
|
||||||
proc mi_run_to_helper { cmd reason func args file line extra test } {
|
proc mi_run_to_helper { cmd reason func args file line extra test } {
|
||||||
global suppress_flag
|
global suppress_flag
|
||||||
if { $suppress_flag } {
|
if { $suppress_flag } {
|
||||||
@ -723,12 +726,6 @@ proc mi_run_to_helper { cmd reason func args file line extra test } {
|
|||||||
fail "$test (unknown output after running)"
|
fail "$test (unknown output after running)"
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
# Can not check for this, because of false positives after half of a running
|
|
||||||
# prompt.
|
|
||||||
# -re ".*\r\n${mi_gdb_prompt}" {
|
|
||||||
# fail "$test (unknown output)"
|
|
||||||
# return -1
|
|
||||||
# }
|
|
||||||
timeout {
|
timeout {
|
||||||
fail "$test (timeout)"
|
fail "$test (timeout)"
|
||||||
return -1
|
return -1
|
||||||
|
Reference in New Issue
Block a user