This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] selftest.exp: more reordering
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 11 Sep 2003 16:07:40 -0400
- Subject: [RFA] selftest.exp: more reordering
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"