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] Remove struct symbol_search member symtab.


On Fri, Dec 12, 2014 at 10:01 PM, Doug Evans <xdje42@gmail.com> wrote:
> Hi.
>
> Since symbols have a backlink to their containing symtab,
> there's no real need to store symtab in struct symbol_search.
> [Is there?]
>
> Regression tested on amd64-linux.
>
> 2014-12-10  Doug Evans  <xdje42@gmail.com>
>
>         * symtab.h (struct symbol_search) <symtab>: Delete.  All uses updated.
>         * symtab.c (compare_search_syms): Use SYMBOL_SYMTAB accessor.
>         (print_symbol_info): Delete arg symtab.  All callers updated.
>         (symtab_symbol_info): Use SYMBOL_SYMTAB accessor.

Committed.


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