From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15826 invoked by alias); 28 Nov 2001 09:31:36 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15690 invoked from network); 28 Nov 2001 09:31:32 -0000 Received: from unknown (HELO localhost.localdomain) (62.30.164.150) by hostedprojects.ges.redhat.com with SMTP; 28 Nov 2001 09:31:32 -0000 Received: (from jason@localhost) by localhost.localdomain (8.11.6/8.11.6) id fAS9V8501310; Wed, 28 Nov 2001 09:31:08 GMT X-Authentication-Warning: localhost.localdomain: jason set sender to jason@redhat.com using -f To: libstdc++@gcc.gnu.org Cc: gdb@sources.redhat.com Subject: Re: C++ debugging progress References: <20011128020256.A9688@nevyn.them.org> From: Jason Merrill In-Reply-To: <20011128020256.A9688@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 28 Nov 2001 02:02:56 -0500") Date: Mon, 19 Nov 2001 13:41:00 -0000 Message-ID: User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-11/txt/msg00201.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: > I'll not be posting the patches for another day or two. The way I do it now > is grossly inefficient; I look through RTTI at every lookup instead of once > per type. It also depends on presence of RTTI. There's not much I can do > about that - or rather, I could, but AFAICT it would require walking the > inheritance graph in the proper order and I don't have the machinery to do > that easily. I'm not heartbroken that we need RTTI for debugging though. So you're using the inheritance information in the RTTI rather than the debug info? That seems unfortunate. I'm not sure why you would need to worry about ordering; the debug info should tell you exactly where things are. If it doesn't, it should probably be fixed. Jason From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: libstdc++@gcc.gnu.org Cc: gdb@sources.redhat.com Subject: Re: C++ debugging progress Date: Wed, 28 Nov 2001 01:31:00 -0000 Message-ID: References: <20011128020256.A9688@nevyn.them.org> X-SW-Source: 2001-11/msg00308.html Message-ID: <20011128013100.PmfhHdMHHwrNDTQhAN_C0f7zOPZ1YnHj2eGzpEr1Kys@z> >>>>> "Daniel" == Daniel Jacobowitz writes: > I'll not be posting the patches for another day or two. The way I do it now > is grossly inefficient; I look through RTTI at every lookup instead of once > per type. It also depends on presence of RTTI. There's not much I can do > about that - or rather, I could, but AFAICT it would require walking the > inheritance graph in the proper order and I don't have the machinery to do > that easily. I'm not heartbroken that we need RTTI for debugging though. So you're using the inheritance information in the RTTI rather than the debug info? That seems unfortunate. I'm not sure why you would need to worry about ordering; the debug info should tell you exactly where things are. If it doesn't, it should probably be fixed. Jason