This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]