diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:56 -0700 |
commit | 162dce5526debd7fbc3a4516c37ee6178bab6e5b (patch) | |
tree | d9b3a39c5458a76bf70f193b4dcc2338c24ca887 /gdb/Makefile.in | |
parent | 3054dd54700066c423fe73731ab46ea2a9c3f541 (diff) | |
download | gdb-162dce5526debd7fbc3a4516c37ee6178bab6e5b.zip gdb-162dce5526debd7fbc3a4516c37ee6178bab6e5b.tar.gz gdb-162dce5526debd7fbc3a4516c37ee6178bab6e5b.tar.bz2 |
Create dwarf2/attribute.[ch]
This moves the attribute-related code out of dwarf2read.c and into the
new files dwarf2/attribute.[ch].
gdb/ChangeLog
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2read.c (struct attribute, DW_STRING)
(DW_STRING_IS_CANONICAL, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR)
(DW_SIGNATURE, struct dwarf_block, attr_value_as_address)
(attr_form_is_block, attr_form_is_section_offset)
(attr_form_is_constant, attr_form_is_ref): Move.
* dwarf2/attribute.h: New file.
* dwarf2/attribute.c: New file, from dwarf2read.c.
* Makefile.in (COMMON_SFILES): Add dwarf2/attribute.c.
Change-Id: I1ea4c146256a1b9e38b66f1c605d782a14eeded7
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 12abfa4..b726ae8 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1003,6 +1003,7 @@ COMMON_SFILES = \ dwarf2loc.c \ dwarf2read.c \ dwarf2/abbrev.c \ + dwarf2/attribute.c \ dwarf2/leb.c \ dwarf2/section.c \ eval.c \ |