This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ debugging progress


>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> 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.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]