This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] selftest.exp: more reordering
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 11 Sep 2003 16:00:46 -0400
- Subject: Re: [RFA] selftest.exp: more reordering
- References: <16224.54796.784252.791992@localhost.redhat.com>
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