aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-08 13:40:54 -0700
committerTom Tromey <tom@tromey.com>2020-02-08 13:43:24 -0700
commit4057dfde49d7867ad41906ed11705e450a08b4cf (patch)
treedadd9020aab5e5e543faf9873cbaf6bc8bb6ab0c /gdb/Makefile.in
parent24aa364d607c1f5845b1ff200f385d11ebba7e02 (diff)
downloadfsf-binutils-gdb-4057dfde49d7867ad41906ed11705e450a08b4cf.zip
fsf-binutils-gdb-4057dfde49d7867ad41906ed11705e450a08b4cf.tar.gz
fsf-binutils-gdb-4057dfde49d7867ad41906ed11705e450a08b4cf.tar.bz2
Create dwarf2/comp-unit.[ch]
This creates the new files dwarf2/comp-unit.[ch], moving comp_unit_head and helpers to those files. A couple of functions are turned into methods, because it was convenient to do so now. 2020-02-08 Tom Tromey <tom@tromey.com> * Makefile.in (COMMON_SFILES): Add dwarf2/comp-unit.c. * dwarf2/read.c (struct comp_unit_head): Move to dwarf2/comp-unit.h. (enum class rcuh_kind): Move to comp-unit.h. (get_cu_length, offset_in_cu_p): Now methods on comp_unit_head. (read_comp_unit_head, error_check_comp_unit_head) (read_and_check_comp_unit_head): Move to comp-unit.c. (read_offset, dwarf_unit_type_name): Likewise. (create_debug_type_hash_table, read_cutu_die_from_dwo) (cutu_reader::cutu_reader, read_call_site_scope) (find_partial_die, follow_die_offset): Update. * dwarf2/comp-unit.h: New file, from dwarf2read.c. Change-Id: Id961b9674c0081ed061083c8152c38b27b27388a
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index b4bd9d4..8870728 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -996,6 +996,7 @@ COMMON_SFILES = \
dummy-frame.c \
dwarf2/abbrev.c \
dwarf2/attribute.c \
+ dwarf2/comp-unit.c \
dwarf2/expr.c \
dwarf2/frame-tailcall.c \
dwarf2/frame.c \