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