This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC]: java inferior function call support
- From: Tom Tromey <tromey at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 24 Mar 2004 13:25:37 -0700
- Subject: Re: [RFC]: java inferior function call support
- References: <40608A03.1070808@redhat.com><20040323191051.GA27837@nevyn.them.org>
- Reply-to: tromey at redhat dot com
>>>>> "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