Remove some "OBJF_READNOW" code from dwarf2_debug_names_index
authorTom Tromey <tom@tromey.com>
Tue, 30 Mar 2021 00:31:31 +0000 (18:31 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Apr 2022 15:10:03 +0000 (09:10 -0600)
commitdfaa040b440084dd73ebd359326752d5f44fc02c
treed9d229d82bd89d5f1fa3c9fbf358b7ae2acac72f
parent32ae6b930c293278c0a57d40c468653173ad09b5
Remove some "OBJF_READNOW" code from dwarf2_debug_names_index

The dwarf2_debug_names_index code treats a NULL debug_names_table as
if it were from OBJF_READNOW.  However, this trick is only done for
gdb_index, never for debug_names -- see dwarf2_initialize_objfile.
gdb/dwarf2/read.c