This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/9] symtab.c symbol lookup cleanups
- From: Doug Evans <xdje42 at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 7 Nov 2014 00:54:05 -0800
- Subject: Re: [PATCH 0/9] symtab.c symbol lookup cleanups
- Authentication-results: sourceware.org; auth=none
- References: <m3egtukuqi dot fsf at sspiff dot org>
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.