diff options
author | Daniel Jacobowitz <dan@debian.org> | 2001-10-01 20:31:38 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2001-10-01 20:31:38 +0000 |
commit | 61762ccad97253a6f8c4bb04fdc2f7ba3b8a60e4 (patch) | |
tree | 327188ea29bf3a0522b010937b7f936641601887 /gdb | |
parent | 3c9a134133a20935672a887e328486566d4e58e1 (diff) | |
download | gdb-61762ccad97253a6f8c4bb04fdc2f7ba3b8a60e4.tar.gz |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-var-display.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi0-var-display.exp | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index da2b517aee0..de03beeb733 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi-var-display.exp b/gdb/testsuite/gdb.mi/mi-var-display.exp index 2eb4e03900d..82e5df34dc7 100644 --- a/gdb/testsuite/gdb.mi/mi-var-display.exp +++ b/gdb/testsuite/gdb.mi/mi-var-display.exp @@ -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)" } diff --git a/gdb/testsuite/gdb.mi/mi0-var-display.exp b/gdb/testsuite/gdb.mi/mi0-var-display.exp index f2174817325..561e4915880 100644 --- a/gdb/testsuite/gdb.mi/mi0-var-display.exp +++ b/gdb/testsuite/gdb.mi/mi0-var-display.exp @@ -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)" } |