From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7879 invoked by alias); 23 Sep 2003 19:20:15 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7872 invoked from network); 23 Sep 2003 19:20:14 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 23 Sep 2003 19:20:14 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h8NJKC120163 for ; Tue, 23 Sep 2003 15:20:13 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h8NJKCc31028 for ; Tue, 23 Sep 2003 15:20:12 -0400 Received: from localhost.redhat.com (devserv.devel.redhat.com [172.16.58.1]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h8NJKBRC019312; Tue, 23 Sep 2003 15:20:11 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 18AEB2CC89; Tue, 23 Sep 2003 15:29:49 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16240.40749.461678.952577@localhost.redhat.com> Date: Tue, 23 Sep 2003 19:20:00 -0000 To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] selftest.exp: more reordering In-Reply-To: <16224.54796.784252.791992@localhost.redhat.com> References: <16224.54796.784252.791992@localhost.redhat.com> X-SW-Source: 2003-09/txt/msg00502.txt.bz2 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 > > * 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"