This is the mail archive of the
mailing list for the GDB project.
Re: C++ debugging progress
- From: Jason Merrill <jason at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 28 Nov 2001 09:31:07 +0000
- Subject: Re: C++ debugging progress
- References: <20011128020256.A9688@nevyn.them.org>
>>>>> "Daniel" == Daniel Jacobowitz <firstname.lastname@example.org> 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.