This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit/6.0?] Sanity check in baseclass_offset


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]