Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] selftest.exp: more reordering
@ 2003-09-11 19:58 Elena Zannoni
  2003-09-11 20:00 ` Daniel Jacobowitz
  2003-09-23 19:20 ` Elena Zannoni
  0 siblings, 2 replies; 3+ messages in thread
From: Elena Zannoni @ 2003-09-11 19:58 UTC (permalink / raw)
  To: gdb-patches


I am seeing some other different behavior due to optimizations (this
on a recent RHL-rawhide). Makes sense?

elena

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"


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] selftest.exp: more reordering
  2003-09-11 19:58 [RFA] selftest.exp: more reordering Elena Zannoni
@ 2003-09-11 20:00 ` Daniel Jacobowitz
  2003-09-23 19:20 ` Elena Zannoni
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2003-09-11 20:00 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] selftest.exp: more reordering
  2003-09-11 19:58 [RFA] selftest.exp: more reordering Elena Zannoni
  2003-09-11 20:00 ` Daniel Jacobowitz
@ 2003-09-23 19:20 ` Elena Zannoni
  1 sibling, 0 replies; 3+ messages in thread
From: Elena Zannoni @ 2003-09-23 19:20 UTC (permalink / raw)
  To: Elena Zannoni; +Cc: gdb-patches

Elena Zannoni writes:
 > 
 > I am seeing some other different behavior due to optimizations (this
 > on a recent RHL-rawhide). Makes sense?
 > 
 > elena
 > 
 > 2003-09-11  Elena Zannoni  <ezannoni@redhat.com>
 > 
 > 	* gdb.base/selftest.exp: Accomodate more instruction reordering 
 >         weirdness.
 > 
 > 


Committed to mainline.

elena


 > 
 > 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"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-23 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 19:58 [RFA] selftest.exp: more reordering Elena Zannoni
2003-09-11 20:00 ` Daniel Jacobowitz
2003-09-23 19:20 ` Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox