From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4787 invoked by alias); 6 Feb 2003 06:31:35 -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 4777 invoked from network); 6 Feb 2003 06:31:35 -0000 Received: from unknown (HELO molenda.com) (192.220.74.81) by 172.16.49.205 with SMTP; 6 Feb 2003 06:31:35 -0000 Received: (qmail 1714 invoked by uid 19025); 6 Feb 2003 06:31:34 -0000 Date: Thu, 06 Feb 2003 06:31:00 -0000 From: Jason Molenda To: Elena Zannoni Cc: Daniel Jacobowitz , David Carlton , Andrew Cagney , gdb-patches@sources.redhat.com, jjohnstn@redhat.com Subject: Re: Fix committed for mi-syn-frames fails (was: Re: PATCH RFA: Fix MI stack frame output for synthetic frames) Message-ID: <20030205223134.A1503@molenda.com> References: <20021109004723.A20334@molenda.com> <3E3CB218.1020706@redhat.com> <20030203102748.A75701@molenda.com> <20030203183441.GA27429@nevyn.them.org> <20030204000936.A19984@molenda.com> <20030205002416.A75501@molenda.com> <20030205135947.GA30516@nevyn.them.org> <15937.9876.260141.789359@localhost.redhat.com> <20030205222835.A985@molenda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030205222835.A985@molenda.com>; from jason-swarelist@molenda.com on Wed, Feb 05, 2003 at 10:28:35PM -0800 X-SW-Source: 2003-02/txt/msg00212.txt.bz2 (Yes yes, I fixed the ChangeLog -- deep in my heart I know this file should be called "mi-syn-frames", not "mi-syn-frame". :-) On Wed, Feb 05, 2003 at 10:28:35PM -0800, Jason Molenda wrote: > I've commited this. mi-syn-frames.exp passes with gcc 3.2 and > gcc 2.96 with stabs and DWARF 2. > > > 2003-02-05 Jason Molenda (jason-cl@molenda.com) > > * gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement > at the beginning so the breakpoint doesn't get set on the loop. > > Index: gdb.mi/mi-syn-frame.c > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-syn-frame.c,v > retrieving revision 1.1 > diff -u -p -r1.1 mi-syn-frame.c > --- gdb.mi/mi-syn-frame.c 2 Feb 2003 05:51:09 -0000 1.1 > +++ gdb.mi/mi-syn-frame.c 6 Feb 2003 06:26:01 -0000 > @@ -46,8 +46,9 @@ handler (int sig) > void > subroutine (int in) > { > - while (in < 100) > - in++; > + int count = in; > + while (count < 100) > + count++; > } > > void