[RFC]: java inferior function call support

Tom Tromey tromey@redhat.com
Wed Mar 24 20:38:00 GMT 2004


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

Daniel> I'm not at all sure about the vtable changes.  They should be
Daniel> compatible, because gcj does try to follow the C++ ABI.  If you'll send
Daniel> a testcase, I'll take another look and see what I'm missing.

Yeah, a gcj vtable looks pretty much like the vtable of a C++ class
with only a single superclass.  It is a bit odd in that there are a
couple of vtable slots that don't actually point to methods, but I
think this shouldn't matter to gdb.

If gdb uses C++ RTTI, then that would be a problem, since gcj doesn't
generate the same sort of RTTI information.

Tom



More information about the Gdb-patches mailing list