Refactor build_type_psymtabs_reader
authorTom Tromey <tom@tromey.com>
Fri, 18 Jun 2021 21:36:40 +0000 (15:36 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:16 +0000 (09:31 -0600)
commitc0892a1d5dc29eb849e9aed0fb7c7dade6dffb23
treea736bcd9482fedcc5ee53b52dafd62d04fb24267
parent4e9e4fcda5e820d770369824669d86d3fadcad04
Refactor build_type_psymtabs_reader

The new DWARF scanner needs to save the entire cutu_reader object, not
just parts of it.  In order to make this possible, this patch
refactors build_type_psymtabs_reader.  This change is done separately
because it is easy to review in isolation and it helps make the later
patches smaller.
gdb/dwarf2/read.c