Move dwarf2_cu to new header file
authorTom Tromey <tom@tromey.com>
Mon, 17 May 2021 20:16:06 +0000 (14:16 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 17 May 2021 20:16:06 +0000 (14:16 -0600)
commit8ae78a440e4e2ea7ecda9b33a6b3ec63bbcd3c65
treea3e6f97b5ac11a1aef94a6177d67338e9a9bc945
parentc1c0a7e1f39fda9f95bb94ecc5f39b189d69a76c
Move dwarf2_cu to new header file

This moves dwarf2_cu and one supporting data structure to a new header
file.  The main goal, as always with this kind of change, is to make
the DWARF reader a bit more understandable.

gdb/ChangeLog
2021-05-17  Tom Tromey  <tom@tromey.com>

* Makefile.in (HFILES_NO_SRCDIR): Add dwarf2/cu.h.
* dwarf2/read.c (struct delayed_method_info, struct dwarf2_cu):
Move to cu.h.
* dwarf2/cu.h: New file.
gdb/ChangeLog
gdb/Makefile.in
gdb/dwarf2/cu.h [new file with mode: 0644]
gdb/dwarf2/read.c