This is the mail archive of the
mailing list for the GDB project.
C++ debugging progress
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: libstdc++ at gcc dot gnu dot org, gdb at sources dot redhat dot com
- Date: Wed, 28 Nov 2001 02:02:56 -0500
- Subject: C++ debugging progress
For the curious, I've gotten all but two of the virtual function tests to
pass in virtfuncs.exp. I'm not entirely sure what's wrong with one of the
others, and the other goes up as far as the parser (pEe->D::fd() yields
"attempt to take address of value not in memory"). There's also a bunch of
namespace problems, of course.
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 once I clean them up a little I'll post the rest for people to try.
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer