[RFA] selftest.exp: more reordering
Daniel Jacobowitz
drow@mvista.com
Thu Sep 11 20:00:00 GMT 2003
On Thu, Sep 11, 2003 at 04:07:40PM -0400, Elena Zannoni wrote:
>
> I am seeing some other different behavior due to optimizations (this
> on a recent RHL-rawhide). Makes sense?
Does to me, I think I've seen this one recently.
> 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
>
> * gdb.base/selftest.exp: Accomodate more instruction reordering
> weirdness.
>
>
>
> Index: selftest.exp
> ===================================================================
> RCS file: /cvs/uberbaum/gdb/testsuite/gdb.base/selftest.exp,v
> retrieving revision 1.11
> diff -u -p -r1.11 selftest.exp
> --- selftest.exp 30 Aug 2003 04:58:21 -0000 1.11
> +++ selftest.exp 11 Sep 2003 19:58:30 -0000
> @@ -342,6 +342,11 @@ proc test_with_self { executable } {
> send_gdb "step\n"
> exp_continue
> }
> + -re ".*cmdarg = .* xmalloc.*$gdb_prompt $" {
> + set stepped_back 1
> + send_gdb "step\n"
> + exp_continue
> + }
> -re "dirsize = 1;.*$gdb_prompt $" {
> set stepped_back 1
> send_gdb "step\n"
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb-patches
mailing list