From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4655 invoked by alias); 11 Sep 2003 19:58:50 -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 4646 invoked from network); 11 Sep 2003 19:58:49 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 11 Sep 2003 19:58:49 -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 h8BJwml22356 for ; Thu, 11 Sep 2003 15:58:48 -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 h8BJwle13872 for ; Thu, 11 Sep 2003 15:58:47 -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 h8BJwlba012585 for ; Thu, 11 Sep 2003 15:58:47 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 607E22CA3B; Thu, 11 Sep 2003 16:07:41 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16224.54796.784252.791992@localhost.redhat.com> Date: Thu, 11 Sep 2003 19:58:00 -0000 To: gdb-patches@sources.redhat.com Subject: [RFA] selftest.exp: more reordering X-SW-Source: 2003-09/txt/msg00243.txt.bz2 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. 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"