Move some dwarf2_cu methods to new 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)
commit839118f920751fc9fd06463f6820c40f3b0baabc
tree70ff71d85b99f6c25db349a47ba400e463cb43e3
parent8ae78a440e4e2ea7ecda9b33a6b3ec63bbcd3c65
Move some dwarf2_cu methods to new file

This moves some of the dwarf2_cu methods to a new file, dwarf2/cu.c.

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

* dwarf2/read.c (dwarf2_cu::addr_sized_int_type)
(dwarf2_cu::start_symtab, dwarf2_cu::addr_type)
(dwarf2_cu::dwarf2_cu): Move to cu.c.
* dwarf2/cu.c: New file.
* Makefile.in (COMMON_SFILES): Add dwarf2/cu.c.
gdb/ChangeLog
gdb/Makefile.in
gdb/dwarf2/cu.c [new file with mode: 0644]
gdb/dwarf2/read.c