From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5217 invoked by alias); 22 Oct 2002 22:09:51 -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 5209 invoked from network); 22 Oct 2002 22:09:50 -0000 Received: from unknown (HELO mail.cdt.org) (206.112.85.61) by sources.redhat.com with SMTP; 22 Oct 2002 22:09:50 -0000 Received: from dberlin.org (pool-138-88-93-214.res.east.verizon.net [138.88.93.214]) by mail.cdt.org (Postfix) with ESMTP id C43934900C4; Tue, 22 Oct 2002 17:44:31 -0400 (EDT) Received: from [192.168.0.1] (HELO dberlin.org) by dberlin.org (CommuniGate Pro SMTP 4.0) with ESMTP-TLS id 1071149; Tue, 22 Oct 2002 18:09:49 -0400 Date: Tue, 22 Oct 2002 15:09:00 -0000 From: Daniel Berlin To: David Carlton Cc: gdb-patches@sources.redhat.com, Elena Zannoni , Jim Blandy Subject: Re: [rfc/rfa] accept DW_TAG_namespace and friends, possibly on 5.3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-10/txt/msg00434.txt.bz2 > > currently have a version of GCC that emits many > > DW_TAG_imported_declarations or any DW_TAG_imported_modules; I hope > > that I'll have one soon (Daniel Berlin is working on it but he's busy; > > maybe I'll try to work on it myself, too), > I should have it done in a few hours, actually. Now I remember why i didn't do it in the first place. Using decl's aren't common to the tree structure (USING_DECL and USING_STMT are in cp/cp-tree.def). We also never end up walking the statement tree, and there are no debug hooks for handling each statement anyway (inlined subroutines get handled without needing to do this), so it's a loss. Thus, we'll never see a USING_STMT or USING_DECL. In other words, this is gonna be complicated and i don't know if it'll be accepted, but we'll see. I can make the DW_TAG_imported_* appear and appear in the right order, but not necessarily in the right context. --Dan