This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] The result of symtab expansion is always a primary symtab
- From: Doug Evans <xdje42 at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 18 Nov 2014 09:09:08 -0800
- Subject: Re: [PATCH] The result of symtab expansion is always a primary symtab
- Authentication-results: sourceware.org; auth=none
- References: <m3mw7z20r2 dot fsf at sspiff dot org>
On Sun, Nov 9, 2014 at 7:27 PM, Doug Evans <xdje42@gmail.com> wrote:
> [...]
>
> 2014-11-09 Doug Evans <xdje42@gmail.com>
>
> The result of symtab expansion is always a primary symtab.
> * dwarf2read.c (dw2_instantiate_symtab): Add assert.
> (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
> * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
> (psymtab_to_symtab): Add comment and assert.
> (map_matching_symbols_psymtab): Remove unnecessary test for
> non-primary symtab.
Committed.