* gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
some incorrect output instead of timing out. * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
This commit is contained in:
parent
447aa9a61f
commit
1f08dafd5a
@ -1,3 +1,9 @@
|
||||
2001-10-01 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
|
||||
some incorrect output instead of timing out.
|
||||
* gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
|
||||
|
||||
2001-09-28 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
|
||||
|
@ -591,6 +591,12 @@ gdb_expect {
|
||||
-re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\\\[\{name=\"a\",value=\"2\.*\"\}\\\],file=\".*var-cmd.c\",line=\"85\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "continue to incr_a"
|
||||
}
|
||||
-re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\\\[\{name=\"a\",value=\"\.*\"\}\\\],file=\".*var-cmd.c\",line=\"8\[345\]\"\}\r\n$mi_gdb_prompt$" {
|
||||
fail "continue to incr_a (compiler debug info incorrect)"
|
||||
}
|
||||
-re "\\^running\r\n${mi_gdb_prompt}.*\r\n$mi_gdb_prompt$" {
|
||||
fail "continue to incr_a (unknown output)"
|
||||
}
|
||||
timeout {
|
||||
fail "continue to incr_a (timeout)"
|
||||
}
|
||||
|
@ -591,6 +591,12 @@ gdb_expect {
|
||||
-re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\{\{name=\"a\",value=\"2\.*\"\}\},file=\".*var-cmd.c\",line=\"85\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "continue to incr_a"
|
||||
}
|
||||
-re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\{\{name=\"a\",value=\".*\"\}\},file=\".*var-cmd.c\",line=\"8\[345\]\"\}\r\n$mi_gdb_prompt$" {
|
||||
fail "continue to incr_a (compiler debug info incorrect)"
|
||||
}
|
||||
-re "\\^running\r\n${mi_gdb_prompt}.*\r\n$mi_gdb_prompt$" {
|
||||
fail "continue to incr_a (unknown output)"
|
||||
}
|
||||
timeout {
|
||||
fail "continue to incr_a (timeout)"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user