The result of symtab expansion is always a primary symtab.
authorDoug Evans <xdje42@gmail.com>
Tue, 18 Nov 2014 16:08:00 +0000 (08:08 -0800)
committerDoug Evans <xdje42@gmail.com>
Tue, 18 Nov 2014 16:08:00 +0000 (08:08 -0800)
commitf194fefb5e345e8c3b55de1d957bc6d7b95667ad
treedcf1e5db1ae8b7e731859f490e23f06155c666d0
parent6937bb54a9c3ddc7ba330bc18af76f8dbe856ac3
The result of symtab expansion is always a primary symtab.

gdb/ChangeLog:

* 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.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/psymtab.c