patch to robustify gnuv3_rtti_type

Per Bothner per@bothner.com
Sat Jan 19 12:40:00 GMT 2002


Ok to check in?  This doesn't fix the real problem, which is that
gcj produces vtables that aren't properly abi-compliant.  Hopefully,
we'll fix that.  But for now, let's at least prevent gdb from crashing.

	* gnu-v3-abi.c (gnuv3_rtti_type):  Guard that vtable_symbol_name
	isn't NULL, which can happen with some gcj3.0-produced code.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtti.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020119/c99c01a9/attachment.ksh>


More information about the Gdb-patches mailing list