aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-var-display.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-10-01 20:31:38 +0000
committerDaniel Jacobowitz <drow@false.org>2001-10-01 20:31:38 +0000
commit1f08dafd5af4feca3cbb0ad826abe8a24ea60aeb (patch)
tree7ef163e32b679d29535a932bb4f67505641ba55f /gdb/testsuite/gdb.mi/mi-var-display.exp
parent447aa9a61fab980682523e7c6e08f1c255e38ee0 (diff)
downloadgdb-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/testsuite/gdb.mi/mi-var-display.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-display.exp6
1 files changed, 6 insertions, 0 deletions
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)"
}