From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9977 invoked by alias); 4 Feb 2010 17:25:18 -0000 Received: (qmail 9965 invoked by uid 22791); 4 Feb 2010 17:25:18 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Feb 2010 17:25:12 +0000 Received: (qmail 14065 invoked from network); 4 Feb 2010 17:25:10 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Feb 2010 17:25:10 -0000 Date: Thu, 04 Feb 2010 17:25:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Keith Seitz , gdb-patches@sourceware.org Subject: Re: [RFA 2/4] dwarf2_physname Message-ID: <20100204172457.GA22071@caradoc.them.org> Mail-Followup-To: Tom Tromey , Keith Seitz , gdb-patches@sourceware.org References: <20091222192444.GB15339@caradoc.them.org> <4B576983.2090808@redhat.com> <20100126211733.GA17877@caradoc.them.org> <4B609019.1090807@redhat.com> <4B61F20B.7070908@redhat.com> <20100128202429.GA29835@caradoc.them.org> <4B622047.7020503@redhat.com> <20100201164837.GF21339@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-02/txt/msg00122.txt.bz2 On Thu, Feb 04, 2010 at 10:21:44AM -0700, Tom Tromey wrote: > I don't understand why die_needs_namespace only does this for > DW_TAG_variable and not other things. I also don't understand why it > unconditionally returns 1 for enumerators, functions, and the like. > However, I didn't look to see how it is used, so perhaps it doesn't > matter. I think it's because we need to distinguish local and global variables. Enumerators don't have this problem (I'm not sure about members). As for local functions, I have no idea... -- Daniel Jacobowitz CodeSourcery