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 2/9] Add macro ALL_BLOCK_SYMBOLS_WITH_NAME.


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.


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