From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17859 invoked by alias); 23 Jan 2004 23:08:37 -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 17847 invoked from network); 23 Jan 2004 23:08:36 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Jan 2004 23:08:36 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AkAPj-0002Up-T0 for ; Fri, 23 Jan 2004 18:08:35 -0500 Date: Fri, 23 Jan 2004 23:08:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [rfa] lookup_transparent_type hack Message-ID: <20040123230835.GA9555@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20040119042535.GA10479@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.1i X-SW-Source: 2004-01/txt/msg00640.txt.bz2 On Fri, Jan 23, 2004 at 03:06:45PM -0800, David Carlton wrote: > On Thu, 22 Jan 2004 14:00:08 -0800, David Carlton said: > > > These failures aren't caused by my patch to GDB - they happen with or > > without the patch - but I want to look into the reason for the > > behavior first before committing the patch. > > I've looked into them; as I suspected, they didn't really have > anything to do with this patch. There is a bug in the way I handle > the debug output that GCC 3.4 generates for classes in namespaces; > I'll submit a patch for that later this afternoon. And, once I fixed > that bug, I discovered that, if you do: > > > void func () > { > C2 *obj = create2 (); > > return; > } > > and set a breakpoint on the 'return' line then, if it's compiled with > GCC 3.4, 'print *obj' claims that there isn't a variable named 'obj'. > Sigh. Yes, there are a number of these in our testsuite - and I think that GCC is not at fault. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer