[patch 4/5] Test cases
Pedro Alves
pedro@codesourcery.com
Wed Nov 16 19:05:00 GMT 2011
On Tuesday 15 November 2011 08:03:27, Yao Qi wrote:
> + if ![runto_main] {
> + fail "Can't run to main"
> + return -1
> + }
Should restore pf_prefix. More instances of this.
> + send_gdb "disconnect\n"
> + gdb_expect {
> + -re "warning: Pending tracepoint will not be resolved while GDB is disconnected.*Ending remote debugging.*$gdb_prompt $" {
> + pass "disconnect with pending tracepoint"
> + }
> + -re ".*$gdb_prompt $" {
> + fail "disconnect with pending tracepoint"
> + }
> + }
Why send_gdb/gdb_expect?
Otherwise looks okay.
--
Pedro Alves
More information about the Gdb-patches
mailing list