This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 4/5] Test cases
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