From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Daniel Berlin Cc: Benjamin Kosnik , Eli Zaretskii , jason@redhat.com, libstdc++@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: c++ debugging hosed Date: Mon, 26 Nov 2001 16:53:00 -0000 Message-id: <20011126195405.A29713@nevyn.them.org> References: <20011126183836.A9099@nevyn.them.org> X-SW-Source: 2001-11/msg00269.html On Mon, Nov 26, 2001 at 07:43:39PM -0500, Daniel Berlin wrote: > > > On Mon, 26 Nov 2001, Daniel Jacobowitz wrote: > > Could you clarify what symptom this fix you're discussing is supposed > > to solve? > Not being able to print subobjects, etc. OK, I'm just printing objects right now :) > > I thought it was the one I was working on, but > > baseclass_offset actually does nothing ABI specific at all. > This would be incorrect for virtual base classes > Look at it again. > Also notice we call find_rt_base_offset for the HP ABI. > The reason is that baseclass offsets are *always* abi specific. (it's find_rt_vbase_offset) OK, this isn't in baseclass_offset. I assume you mean search_struct_method or find_method_list. I'll get back to this in a few days when I fix my current bug. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28705 invoked by alias); 27 Nov 2001 00:53:59 -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 28527 invoked from network); 27 Nov 2001 00:53:54 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by hostedprojects.ges.redhat.com with SMTP; 27 Nov 2001 00:53:54 -0000 Received: from drow by nevyn.them.org with local (Exim 3.32 #1 (Debian)) id 168WVh-0007lR-00; Mon, 26 Nov 2001 19:54:05 -0500 Date: Thu, 15 Nov 2001 09:57:00 -0000 From: Daniel Jacobowitz To: Daniel Berlin Cc: Benjamin Kosnik , Eli Zaretskii , jason@redhat.com, libstdc++@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: c++ debugging hosed Message-ID: <20011126195405.A29713@nevyn.them.org> Mail-Followup-To: Daniel Berlin , Benjamin Kosnik , Eli Zaretskii , jason@redhat.com, libstdc++@gcc.gnu.org, gdb@sources.redhat.com References: <20011126183836.A9099@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-SW-Source: 2001-11/txt/msg00162.txt.bz2 Message-ID: <20011115095700.Oaf1Bbz8K-lwD3u8w8JI1xLvTlznJKj0X1Re_6SUeWI@z> On Mon, Nov 26, 2001 at 07:43:39PM -0500, Daniel Berlin wrote: > > > On Mon, 26 Nov 2001, Daniel Jacobowitz wrote: > > Could you clarify what symptom this fix you're discussing is supposed > > to solve? > Not being able to print subobjects, etc. OK, I'm just printing objects right now :) > > I thought it was the one I was working on, but > > baseclass_offset actually does nothing ABI specific at all. > This would be incorrect for virtual base classes > Look at it again. > Also notice we call find_rt_base_offset for the HP ABI. > The reason is that baseclass offsets are *always* abi specific. (it's find_rt_vbase_offset) OK, this isn't in baseclass_offset. I assume you mean search_struct_method or find_method_list. I'll get back to this in a few days when I fix my current bug. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer