Adapt .gdb_index writer to new DWARF scanner
authorTom Tromey <tom@tromey.com>
Sat, 29 May 2021 14:57:16 +0000 (08:57 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:16 +0000 (09:31 -0600)
commit6dd7aa909b6f98202ebe995518613e565e11e1a5
treeb2068aa2bcfdd83e8f4d0a239196e1e89f69b427
parentfa38ad7d8aa15309cfc51d4dec48108816e3fcbd
Adapt .gdb_index writer to new DWARF scanner

This updates the .gdb_index writer to work with the new DWARF scanner.
The .debug_names writer is deferred to another patch, to make review
simpler.

This introduces a small hack to psyms_seen_size, but is
inconsequential because this function will be deleted in a subsequent
patch.
gdb/dwarf2/index-write.c
gdb/testsuite/gdb.dwarf2/gdb-index.exp