From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21838 invoked by alias); 21 Dec 2009 21:44:02 -0000 Received: (qmail 21826 invoked by uid 22791); 21 Dec 2009 21:44:01 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Dec 2009 21:43:56 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBLLhsTW004112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 21 Dec 2009 16:43:54 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBLLhrNA015183; Mon, 21 Dec 2009 16:43:54 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id nBLLhrTh032123; Mon, 21 Dec 2009 16:43:53 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 6A8E53781B0; Mon, 21 Dec 2009 14:43:52 -0700 (MST) From: Tom Tromey To: Sami Wagiaalla Cc: gdb-patches@sourceware.org Subject: Re: [patch 1/2] Perform a namespace lookup at every block level References: <4A57512A.7090208@redhat.com> <20090710194949.GA2064@caradoc.them.org> <4A5B68A4.30006@redhat.com> <4A68B91D.2080206@redhat.com> <4A8B0FBA.4090501@redhat.com> <4ADE21F9.7020801@redhat.com> <4B016F9B.3080009@redhat.com> <4B0C2EAB.7000504@redhat.com> Reply-To: tromey@redhat.com Date: Mon, 21 Dec 2009 21:44:00 -0000 In-Reply-To: <4B0C2EAB.7000504@redhat.com> (Sami Wagiaalla's message of "Tue, 24 Nov 2009 14:06:19 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-12/txt/msg00327.txt.bz2 >>>>> "Sami" == Sami Wagiaalla writes: Sami> This patch also fixes PR gdb/10929 Please put this in the ChangeLog and the commit message, so it shows up in bugzilla. Sami> 2009-11-24 Sami Wagiaalla Sami> * dwarf2read.c (read_lexical_block_scope): Create blocks for scopes Sami> which contain using directives even if they contain no declarations. Sami> * symtab.c (lookup_symbol_aux): Pass lowest level Sami> block to la_lookup_symbol_nonlocal. Sami> * cp-namespace.c (cp_lookup_symbol_nonlocal): call Sami> cp_lookup_symbol_namespace. Sami> (cp_lookup_symbol_namespace): Perform an import lookup at every block Sami> level. Sami> (cp_lookup_symbol_imports): New function. Sami> (cp_lookup_symbol_in_namespace): New function. This is ok. Thanks. Tom