This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address


On Fri, 03 Aug 2012 17:01:56 +0200, Edjunior Barbosa Machado wrote:
> the patch below aborts the testcase if vgdb remote connection is closed,
> avoiding the testsuite to get stuck in the `continue' loop that happens when
> occurs the internal-error. It also considers the leading `.' for _start(),
> which is expected in ppc64.

OK with the change below, so that the same testcase name appears during diffs
of various testsuite results.


> --- a/gdb/testsuite/gdb.base/valgrind-infcall.exp
> +++ b/gdb/testsuite/gdb.base/valgrind-infcall.exp
[...]
> @@ -97,6 +97,10 @@ while 1 {
>  	    pass $test
>  	    break
>  	}
> +	-re "Remote connection closed.*\r\n$gdb_prompt $" {
> +	    fail "Remote connection closed. Testcase aborted"

fail "$test (remote connection closed)"

> +	    return -1
> +	}
>  	-re "\r\n$gdb_prompt $" {
>  	    pass "$test (false warning)"
>  	}


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]