Introduce readnow_functions
authorTom Tromey <tom@tromey.com>
Tue, 30 Mar 2021 02:14:30 +0000 (20:14 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Apr 2022 15:10:03 +0000 (09:10 -0600)
commit045a7baed2e8039fc734b43f4f35393c76e59e55
treecf38a54e1029fa6be202e26dc9a48c68aa9b9f8d
parentdfaa040b440084dd73ebd359326752d5f44fc02c
Introduce readnow_functions

This introduces readnow_functions, a new subclass of
dwarf2_base_index_functions, and changes the DWARF reader to use it.
This lets us drop the "index is NULL" hack from the gdb index code.
gdb/dwarf2/read.c