This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] selftest.exp: more reordering


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


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