mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
2002-05-06 Michael Snyder <msnyder@redhat.com>
Enable the "needs_status_wrapper" testsuite feature. * lib/gdb.exp (gdb_wrapper_init): New procedure. (gdb_compile): Conditionally call gdb_wrapper_init. * gdb.base/a2-run.exp: Recognize output from status wrapper. * gdb.c++/method.exp: Recognize output from status wrapper.
This commit is contained in:
@ -180,6 +180,15 @@ gdb_expect {
|
||||
timeout { fail "(timeout) ptype A" }
|
||||
}
|
||||
|
||||
gdb_test "cont" \
|
||||
"Continuing.\r\n\r\nProgram exited normally." \
|
||||
"finish program"
|
||||
send_gdb "cont\n"
|
||||
gdb_expect {
|
||||
-re "Continuing\r\n\r\nProgram exited normally.*$gdb_prompt $" {
|
||||
pass "finish program"
|
||||
}
|
||||
-re "Continuing.* EXIT code 0.*Program exited normally.*$gdb_prompt $" {
|
||||
pass "finish program (exit wrapper)"
|
||||
}
|
||||
-re ".*$gdb_prompt $" { fail "finish program" }
|
||||
default:{ fail "finish program (timeout)" }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user