Re: [rfa/testsuite/mi] Recognize a few incorrect outputs

Andrew Cagney
2001-09-28T16:29:00Z

> diff -u -r1.5 mi-var-display.exp
> --- mi-var-display.exp 2001/08/19 01:23:43 1.5
> +++ mi-var-display.exp 2001/09/28 22:52:37
> @@ -591,6 +591,12 @@
> -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)"
> }
>

Yes.
Andrew