This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 1/2] Perform a namespace lookup at every block level
- From: Tom Tromey <tromey at redhat dot com>
- To: Sami Wagiaalla <swagiaal at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 21 Dec 2009 14:43:51 -0700
- 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> <m3my3vjcu9.fsf@fleche.redhat.com> <4ADE21F9.7020801@redhat.com> <m3ljie9fzf.fsf@fleche.redhat.com> <m3bpja9fua.fsf@fleche.redhat.com> <4B016F9B.3080009@redhat.com> <4B0C2EAB.7000504@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Sami" == Sami Wagiaalla <swagiaal@redhat.com> 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 <swagiaal@redhat.com>
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