From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24999 invoked by alias); 31 Jan 2007 19:15:40 -0000 Received: (qmail 24990 invoked by uid 22791); 31 Jan 2007 19:15:39 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 31 Jan 2007 19:15:35 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1HCKvd-0001k9-N1 for gdb-patches@sourceware.org; Wed, 31 Jan 2007 14:15:33 -0500 Date: Wed, 31 Jan 2007 19:15:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: Testsuite failures in gdb.gdb/selftest.exp Message-ID: <20070131191533.GA6608@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20070131171937.GA337@nevyn.them.org> <20070131181921.GA3195@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00622.txt.bz2 On Wed, Jan 31, 2007 at 08:11:52PM +0100, Andreas Schwab wrote: > Thus the line number information generated by gcc looks correct (address > 110 is the first insn after the prologue). It could still be a GCC bug - if the zero is reused for more things than just that one store, as I hope it will be, then that's a perverse line number to choose. But that's good enough; thank you for checking. Patch is OK. Eli, to answer your question: this is gdb.gdb/selftest.exp, which debugs the just-compiled GDB binary (which was probably compiled with optimization). It's one of the few tests of optimized code that we have in the testsuite. -- Daniel Jacobowitz CodeSourcery