* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp, mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an unexpected run-to-main response. Report as a fail.
This commit is contained in:
parent
992ddc6b09
commit
e866d0e845
11 changed files with 37 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2001-08-18 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
|
||||
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
|
||||
mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
|
||||
unexpected run-to-main response. Report as a fail.
|
||||
|
||||
2001-06-27 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* mi-disassemble.exp: Update to accept mi1 breakpoint tables.
|
||||
|
|
|
@ -60,6 +60,9 @@ gdb_expect {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\\\[\\\],file=\".*mi-console.c\",line=\"13\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ proc test_running_to_callee4 {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"callee4\",args=\\\[\\\],file=\".*basics.c\",line=\"8\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to callee4"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to callee4 (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to callee4 (timeout)"
|
||||
}
|
||||
|
|
|
@ -107,6 +107,9 @@ proc test_running_the_program {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\\\[\\\],file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ proc test_running_to_main {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\\\[\\\],file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ proc test_running_to_foo {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"foo\",args=\\\[\\\],file=\".*until.c\",line=\"10\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ gdb_expect {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\{\},file=\".*mi-console.c\",line=\"13\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ proc test_running_to_callee4 {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"callee4\",args=\{\},file=\".*basics.c\",line=\"8\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to callee4"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to callee4 (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to callee4 (timeout)"
|
||||
}
|
||||
|
|
|
@ -107,6 +107,9 @@ proc test_running_the_program {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\{\},file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ proc test_running_to_main {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\{\},file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ proc test_running_to_foo {} {
|
|||
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"foo\",args=\{\},file=\".*until.c\",line=\"10\"\}\r\n$mi_gdb_prompt$" {
|
||||
pass "run to main"
|
||||
}
|
||||
-re ".*$mi_gdb_prompt$" {
|
||||
fail "run to main (2)"
|
||||
}
|
||||
timeout {
|
||||
fail "run to main (timeout)"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue