This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: c++ debugging hosed
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