From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8839 invoked by alias); 27 Nov 2001 01:19:04 -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 8722 invoked from network); 27 Nov 2001 01:18:54 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by hostedprojects.ges.redhat.com with SMTP; 27 Nov 2001 01:18:54 -0000 Received: from drow by nevyn.them.org with local (Exim 3.32 #1 (Debian)) id 168Wtv-0007xz-00; Mon, 26 Nov 2001 20:19:07 -0500 Date: Thu, 15 Nov 2001 13:10: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: <20011126201906.A30599@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/msg00164.txt.bz2 On Mon, Nov 26, 2001 at 07:53:24PM -0500, Daniel Berlin wrote: > Then looking above it at vb_match. > > It's, in fact, the most abi specific stuff still left for C++. > > > It happens to basically work for non-virtual classes, but it couldn't > possibly work for virtual baseclasses (IE even if you pulled some magic in gcc to make > it still output the things vb_match was looking for, it wouldn't work > anyway.). > > > baseclass offset finding is a fundamental piece of C++ support in gdb. > It's required for printing things, calling methods, etc. Yes. But not, most of the time, through this function. I agree that it needs to be fixed. I'll be back here in a few days, I expect. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer 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 17:19:00 -0000 Message-ID: <20011126201906.A30599@nevyn.them.org> References: <20011126183836.A9099@nevyn.them.org> X-SW-Source: 2001-11/msg00271.html Message-ID: <20011126171900.4ZWdTPUxYdQz_UWOPTvx0MVnz62OjuvG1pBdzdGpPv0@z> On Mon, Nov 26, 2001 at 07:53:24PM -0500, Daniel Berlin wrote: > Then looking above it at vb_match. > > It's, in fact, the most abi specific stuff still left for C++. > > > It happens to basically work for non-virtual classes, but it couldn't > possibly work for virtual baseclasses (IE even if you pulled some magic in gcc to make > it still output the things vb_match was looking for, it wouldn't work > anyway.). > > > baseclass offset finding is a fundamental piece of C++ support in gdb. > It's required for printing things, calling methods, etc. Yes. But not, most of the time, through this function. I agree that it needs to be fixed. I'll be back here in a few days, I expect. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer