Re: [patch 1/2] Perform a namespace lookup at every block level

Tom Tromey
2009-12-21T21:44:02Z

>>>>> "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