From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8702 invoked by alias); 15 Feb 2005 23:35: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 8683 invoked from network); 15 Feb 2005 23:35:14 -0000 Received: from unknown (HELO priv-edtnes40.telusplanet.net) (199.185.220.224) by sourceware.org with SMTP; 15 Feb 2005 23:35:14 -0000 Received: from takamaka.act-europe.fr ([154.20.104.226]) by priv-edtnes40.telusplanet.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050215233513.HUUI7683.priv-edtnes40.telusplanet.net@takamaka.act-europe.fr>; Tue, 15 Feb 2005 16:35:13 -0700 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 31D4247DBF; Tue, 15 Feb 2005 15:35:03 -0800 (PST) Date: Wed, 16 Feb 2005 02:18:00 -0000 From: Joel Brobecker To: Manoj Iyer , gdb-patches@sources.redhat.com, Elena Zannoni Subject: Re: [RFC] Dont skip DW_TAG_member in load_partial_dies() Message-ID: <20050215233503.GB11771@adacore.com> References: <20050215232018.GB8631@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050215232018.GB8631@nevyn.them.org> User-Agent: Mutt/1.4i X-SW-Source: 2005-02/txt/msg00157.txt.bz2 > I'm copying this to Elena, since she is the maintainer of the DWARF-2 > reader. Your patch looks right to me. In fact, I've been working on > running the GDB testsuite using ARM's compiler today, and I have a > patch that looks exactly like this in my working directory :-) We also found the same sort of problem for Ada, and ended up doing the same thing. We haven't had time to submit this change yet, as there were a few things we wanted to thing about before doing so. Just FYI: Here is the change we've made so far in gdb-6.3. if (abbrev->tag == DW_TAG_subprogram || abbrev->tag == DW_TAG_variable || abbrev->tag == DW_TAG_namespace + || abbrev->tag == DW_TAG_enumeration_type + || abbrev->tag == DW_TAG_structure_type -- Joel