From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10448 invoked by alias); 29 Mar 2007 18:35:08 -0000 Received: (qmail 10409 invoked by uid 22791); 29 Mar 2007 18:35:08 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 29 Mar 2007 19:34:58 +0100 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id D992048CBB9 for ; Thu, 29 Mar 2007 14:34:55 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01888-01 for ; Thu, 29 Mar 2007 14:34:55 -0400 (EDT) Received: from joel.gnat.com (S0106000f3d96cb6d.vc.shawcable.net [24.84.195.170]) by nile.gnat.com (Postfix) with ESMTP id 7550948CC48 for ; Thu, 29 Mar 2007 14:34:55 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id A6583E7B43; Thu, 29 Mar 2007 11:36:09 -0700 (PDT) Date: Thu, 29 Mar 2007 18:35:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [RFA] Enhance stabs reader to better deal with forward references Message-ID: <20070329183609.GA3737@adacore.com> References: <20070209194107.GA3365@adacore.com> <20070227165003.GB31729@caradoc.them.org> <20070228201201.GH13140@adacore.com> <20070327162947.GC3452@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070327162947.GC3452@caradoc.them.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00321.txt.bz2 > > 2007-02-08 Joel Brobecker > > > > * stabsread.c (add_undefined_type): Add extra parameter. > > Now handles nameless types separately. > > (struct nat): New type. > > (noname_undefs, noname_undefs_allocated, noname_undefs_length): > > New static variables. > > (read_type): Update calls to add_undefined_type. > > (add_undefined_type_noname): New function. > > (add_undefined_type_1): Renames from add_undefined_type. > > (cleanup_undefined_types_noname): New function. > > (cleanup_undefined_types_1): Renames cleanup_undefined_types. > > (cleanup_undefined_types): New handles nameless types separately. > > (_initialize_stabsread): Initialize our new static constants. > > > > The following patch has been tested on x86-linux with -gstabs+. > > OK to apply? > > This is OK. Thanks, Daniel. Now checked in after fixing the errors you pointed out. -- Joel