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]

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


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