gdb/23712: Remove dw2_add_symbol_to_list
authorKeith Seitz <keiths@redhat.com>
Thu, 10 Jan 2019 21:57:08 +0000 (13:57 -0800)
committerKeith Seitz <keiths@redhat.com>
Thu, 10 Jan 2019 21:57:08 +0000 (13:57 -0800)
commitd3cb68081112a4976979df3f8eae7ca926e76519
tree584ec355dc0d8dd9e8ae16993da026c6a8a37127
parent63a20375b401e24c30987367a10b47b289612e1c
gdb/23712: Remove dw2_add_symbol_to_list

Finally, we can remove dw2_add_symbol_to_list since the wrapper function
originally introduced to catch this multi-language scenario is no longer
needed.  With multi-language dictionaries, we can now support adding
symbols of multiple languages, negating the need for the assertion
entirely.

This patch should now fix gdb/23712 (and symtab/23010).  At least it will
if the NULL buildsym_compunit problem doesn't strike first (see gdb/23773).

gdb/ChangeLog:

PR gdb/23712
PR symtab/23010
* dwarf2read.c (dw2_add_symbol_to_list): Remove.
(fixup_go_packaging, new_symbol): Use add_symbol_to_list.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.026073 seconds and 4 git commands to generate.