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: Infinite loop in make_cv_type


Daniel Jacobowitz wrote:
> 
> On Fri, Feb 22, 2002 at 11:40:38AM +0000, Richard Earnshaw wrote:
> > While testing cplusfuncs.exp on ARM/NetBSD (a.out) with gcc-3 current, gdb
> > is getting stuck in an infinite loop in gdbtypes.c:make_cv_type and I'm
> > trying to work out what this is supposed to do.  The scenario I'm seeing
> > is that the type ring has become corrupted as follows along the
> > TYPE_CV_TYPE chain
> >
> >           type
> >           |
> >             V
> >         var1<----+
> >             |      |
> >             +------+
> >
> > Given that this is supposed to be a loop, it's clearly bogus.
> 
> Definitely.

Hang on, I'm pretty sure that the cv type chain
is supposed to do that.  The pointer loop is 
intentional.


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