From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9304 invoked by alias); 27 Mar 2007 16:29:53 -0000 Received: (qmail 9290 invoked by uid 22791); 27 Mar 2007 16:29:51 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 27 Mar 2007 17:29:49 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 5C0604B267; Tue, 27 Mar 2007 11:29:48 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 2D3A34B262; Tue, 27 Mar 2007 11:29:48 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HWEYN-0002aa-N6; Tue, 27 Mar 2007 12:29:47 -0400 Date: Tue, 27 Mar 2007 16:29:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Enhance stabs reader to better deal with forward references Message-ID: <20070327162947.GC3452@caradoc.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sourceware.org References: <20070209194107.GA3365@adacore.com> <20070227165003.GB31729@caradoc.them.org> <20070228201201.GH13140@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070228201201.GH13140@adacore.com> User-Agent: Mutt/1.5.14+cvs20070313 (2007-03-13) X-IsSubscribed: yes 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/msg00248.txt.bz2 On Wed, Feb 28, 2007 at 12:12:01PM -0800, Joel Brobecker wrote: > 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. > +/* Make a list of nameless type that are undefined. "types" > + In practice, we actually maintain two such list: The first list "lists" -- Daniel Jacobowitz CodeSourcery