mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Add an expect for running commands with CLI jump
2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com> gdb/testsuite/ * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump case.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||||||
|
|
||||||
|
* lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
|
||||||
|
case.
|
||||||
|
|
||||||
2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
|
2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* gdb.base/break.exp: Remove dead code.
|
* gdb.base/break.exp: Remove dead code.
|
||||||
|
@ -886,6 +886,9 @@ proc mi_run_cmd_full {use_mi_command args} {
|
|||||||
# to better handle RUN.
|
# to better handle RUN.
|
||||||
send_gdb "jump *$start\n"
|
send_gdb "jump *$start\n"
|
||||||
warning "Using CLI jump command, expect run-to-main FAIL"
|
warning "Using CLI jump command, expect run-to-main FAIL"
|
||||||
|
gdb_expect {
|
||||||
|
-re "${run_match}&\"jump \\*${start}\\n\"\[\r\n\]+~\"Continuing at 0x\[0-9A-Fa-f\]+\\n.\"\[\r\n\]+\^running\[\r\n\]+\\*running,thread-id=\"\[^\"\]+\"\r\n${mi_gdb_prompt}" {}
|
||||||
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user