This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: patch to robustify gnuv3_rtti_type
Daniel Jacobowitz wrote:
>> * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
>> isn't NULL, which can happen with some gcj3.0-produced code.
>
> OK for now.
I checked it in.
> I'll see if we can cope with the vtables that it currently
> emits, too.
Well, I have a non-checked-in gcj path that is one step towards
fixing the vtables, in that it add sthe extra header words "in
front of" the vtable pointer. I.e. I've allocated space in
the vtable for the rtti pointer, though leaving the pointer
null. The next step is sctually generating the type_info
object. It might be nice to actually *embed* the type_info
object inside the Class object, possibly reducing some
duplication.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/