From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 738 invoked by alias); 22 Feb 2002 17:24:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 631 invoked from network); 22 Feb 2002 17:24:15 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 22 Feb 2002 17:24:15 -0000 Received: from telocity.telocity.com (taarna.cygnus.com [205.180.230.102]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with SMTP id JAA23766; Fri, 22 Feb 2002 09:24:05 -0800 (PST) Message-ID: <3C767D76.11C6@redhat.com> Date: Fri, 22 Feb 2002 09:24:00 -0000 From: Michael Snyder X-Mailer: Mozilla 3.04 (Win95; I) MIME-Version: 1.0 To: Daniel Jacobowitz CC: Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com Subject: Re: Infinite loop in make_cv_type References: <200202221140.LAA24233@cam-mail2.cambridge.arm.com> <20020222105453.A11432@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00622.txt.bz2 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.