mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
Fix races in mi2-console.exp.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2011-06-23 Marek Polacek <mpolacek@redhat.com>
|
||||||
|
|
||||||
|
* gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
|
||||||
|
|
||||||
2011-06-23 Marek Polacek <mpolacek@redhat.com>
|
2011-06-23 Marek Polacek <mpolacek@redhat.com>
|
||||||
|
|
||||||
* gdb.mi/mi2-basics.exp: Fix races. Honour the
|
* gdb.mi/mi2-basics.exp: Fix races. Honour the
|
||||||
|
@ -48,11 +48,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
|
|||||||
mi_run_to_main
|
mi_run_to_main
|
||||||
|
|
||||||
# Next over the hello() call which will produce lots of output
|
# Next over the hello() call which will produce lots of output
|
||||||
gdb_test_multiple "220-exec-next" "Started step over hello" {
|
mi_gdb_test "220-exec-next" "220\\^running(\r\n)?(\\*running,thread-id=\"all\")?" \
|
||||||
-re "220\\^running\r\n(\\*running,thread-id=\"all\"\r\n)?$mi_gdb_prompt" {
|
"Started step over hello"
|
||||||
pass "Started step over hello"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if { ![target_info exists gdb,noinferiorio] } {
|
if { ![target_info exists gdb,noinferiorio] } {
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
|
Reference in New Issue
Block a user