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] Add support for imported declaration and correct search order


>>>>> "Sami" == Sami Wagiaalla <swagiaal@redhat.com> writes:

Sami>    2010-03-09  Sami Wagiaalla  <swagiaal@redhat.com>
Sami>         PR c++/7936:
Sami>        * cp-support.h: Added char *declaration element to using_direct
Sami>        data struct.
Sami>        (cp_add_using): Added char *declaration argument.
Sami>        (cp_add_using_directive): Ditto.
Sami>        (cp_lookup_symbol_imports): made extern.
Sami>        * cp-namespace.c: Updated with the above changes.
Sami>        * dwarf2read.c (read_import_statement): Ditto.
Sami>        (read_namespace): Ditto.
Sami>        (read_import_statement): Support import declarations.
Sami>        * cp-namespace.c (cp_lookup_symbol_imports): Check for imported
Sami>        declarations.
Sami>        Added support for 'declaration_only' search.
Sami>        (cp_lookup_symbol_namespace): Attempt to search for the name as
Sami>        is before consideration of imports.
Sami>        * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only'
Sami>        search at every block level search.
Sami>        Now takes language argument.
Sami>        (lookup_symbol_aux): Updated.
Sami>     2010-03-03  Sami Wagiaalla  <swagiaal@redhat.com>
Sami>         * gdb.cp/shadow.exp: Removed kfail; test has been fix.
Sami>        * gdb.cp/nsusing.exp: Ditto.

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]