[commit/6.0?] Sanity check in baseclass_offset

Daniel Jacobowitz drow@mvista.com
Sun Aug 24 16:53:00 GMT 2003


On Sun, Aug 24, 2003 at 08:29:06AM -0400, Andrew Cagney wrote:
> >If we don't have, for whatever reason, debugging information for a base
> >class, TYPE_VPTR_FIELDNO may be -1.  TYPE_FIELDS may also be NULL.  When we
> >access 0[-1], we segfault.  This patch conditionalizes the sanity check 
> >with
> >another sanity check.
> >
> >OK to move this onto the 6.0 branch, given schedule?  Checked into HEAD, no
> >regressions.
> 
> I think so.

Checked in on the branch, thanks.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list