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 0/9] symtab.c symbol lookup cleanups


On Sun, Oct 26, 2014 at 9:21 PM, Doug Evans <xdje42@gmail.com> wrote:
> Hi.
>
> This patch series takes a step towards cleaning up the symbol lookup
> functions in symtab.c.
>
> There are no behavioral changes, except for 7/9, which I'll discuss
> in that email.
>
> 1/9 Move lookup_block_symbol from symtab.c to block.c.
> 2/9 Add macro ALL_BLOCK_SYMBOLS_WITH_NAME.
> 3/9 Rename lookup_symbol_static to lookup_symbol_in_static_block,
>     and lookup_static_symbol_aux to lookup_static_symbol.
> 4/9 Rename lookup_symbol_aux_block to lookup_symbol_in_block.
> 5/9 Rename some "aux" functions.
> 6/9 symtab.c (basic_lookup_symbol_nonlocal): Add comment.
> 7/9 Rewrite lookup_static_symbol to use
>     gdbarch_iterate_over_objfiles_in_search_order.
> 8/9 Rename lookup_symbol_global to lookup_global_symbol.
> 9/9 Improve function comment for lookup_global_symbol.

Hi.
I've committed everything in this series except 7/9, for which a
followup patch will be posted.
I'll also post patched checked in where they differ from the original.


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