diff options
author | Daniel Jacobowitz <drow@false.org> | 2001-10-01 20:31:38 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2001-10-01 20:31:38 +0000 |
commit | 1f08dafd5af4feca3cbb0ad826abe8a24ea60aeb (patch) | |
tree | 7ef163e32b679d29535a932bb4f67505641ba55f /gdb | |
parent | 447aa9a61fab980682523e7c6e08f1c255e38ee0 (diff) | |
download | gdb-1f08dafd5af4feca3cbb0ad826abe8a24ea60aeb.zip gdb-1f08dafd5af4feca3cbb0ad826abe8a24ea60aeb.tar.gz gdb-1f08dafd5af4feca3cbb0ad826abe8a24ea60aeb.tar.bz2 |
* 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 da2b517..de03bee 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 2eb4e03..82e5df34 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 f217481..561e491 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)" } |