Implement quick_symbol_functions for cooked DWARF index
authorTom Tromey <tom@tromey.com>
Sat, 22 May 2021 13:53:40 +0000 (07:53 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:16 +0000 (09:31 -0600)
commit698379cc2cab53d0c6de32ea8a955245b63e4a23
tree85860bf39c7f4547411fd1374da6b8460e6c2be9
parent2e57de7c843f03cfdce6a1a6b72c15afbaab9571
Implement quick_symbol_functions for cooked DWARF index

This implements quick_symbol_functions for the cooked DWARF index.
This is the code that interfaces between the new index and the rest of
gdb.  Cooked indexes still aren't created by anything.

For the most part this is straightforward.  It shares some concepts
with the existing DWARF indices.  However, because names are stored
pre-split in the cooked index, name lookup here is necessarily
different; see expand_symtabs_matching for the gory details.
gdb/dwarf2/read.c
gdb/dwarf2/read.h