* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
This commit is contained in:
parent
060871df59
commit
83408de733
2 changed files with 6 additions and 11 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
|
||||
|
||||
2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
* gdb.mi/mi-console.exp: Adjust.
|
||||
|
|
|
@ -158,17 +158,8 @@ proc test_ignore_count {} {
|
|||
|
||||
mi_run_cmd
|
||||
|
||||
gdb_expect {
|
||||
-re ".*\\*stopped.*func=\"callme\".*args=\\\[\{name=\"i\",value=\"2\"\}\\\].*\r\n($mi_gdb_prompt)?$" {
|
||||
pass "run to breakpoint with ignore count"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to breakpoint with ignore count"
|
||||
}
|
||||
timeout {
|
||||
fail "run to breakpoint with ignore count (timeout)"
|
||||
}
|
||||
}
|
||||
mi_expect_stop "breakpoint-hit" "callme" "\{name=\"i\",value=\"2\"\}" ".*basics.c" "51" \
|
||||
{"" "disp=\"keep\"" } "run to breakpoint with ignore count"
|
||||
}
|
||||
|
||||
proc test_error {} {
|
||||
|
|
Loading…
Add table
Reference in a new issue