This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/9] Add macro ALL_BLOCK_SYMBOLS_WITH_NAME.
- From: Doug Evans <xdje42 at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 27 Oct 2014 16:19:11 -0700
- Subject: Re: [PATCH 2/9] Add macro ALL_BLOCK_SYMBOLS_WITH_NAME.
- Authentication-results: sourceware.org; auth=none
- References: <m38uk2kuin dot fsf at sspiff dot org>
On Sun, Oct 26, 2014 at 9:26 PM, Doug Evans <xdje42@gmail.com> wrote:
> Hi.
>
> This patch adds macro ALL_BLOCK_SYMBOLS_WITH_NAME to go with
> the ALL_BLOCK_SYMBOLS macro already in block.h.
>
> 2014-10-26 Doug Evans <xdje42@gmail.com>
>
> * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
> * cp-support.c (make_symbol_overload_list_block): Use it.
> * symtab.c (iterate_over_symbols): Use it.
Heh. block_lookup_symbol in 1/9 of this series could use this macro.
https://sourceware.org/ml/gdb-patches/2014-10/msg00720.html
I'll add that to this patch.