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:54 -0700 |
commit | 2c86cff96f47cdc7fe16e231f29566b3da2f756b (patch) | |
tree | 80e4735af6f2854022c346154fff18a13f5d01be /gdb/Makefile.in | |
parent | f4382c45a4de31b654c063d1ae70d932bde1c2f2 (diff) | |
download | gdb-2c86cff96f47cdc7fe16e231f29566b3da2f756b.zip gdb-2c86cff96f47cdc7fe16e231f29566b3da2f756b.tar.gz gdb-2c86cff96f47cdc7fe16e231f29566b3da2f756b.tar.bz2 |
Create dwarf2/section.[ch]
This moves some section-handling code from dwarf2read.c into new
files, dwarf2/section.[ch].
gdb/ChangeLog
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2read.h (struct dwarf2_section_info, dwarf2_read_section):
Move to dwarf2/section.h.
* dwarf2read.c (get_containing_section, get_section_bfd_owner)
(get_section_bfd_section, get_section_name)
(get_section_file_name, get_section_id, get_section_flags)
(dwarf2_section_empty_p, dwarf2_read_section): Moe to
dwarf2/section.c.
* dwarf2/section.h: New file.
* dwarf2/section.c: New file, from dwarf2read.c.
* Makefile.in (COMMON_SFILES): Add dwarf2/section.c.
Change-Id: I9f8498094cf99d9521e9481622ce8adbd453daf4
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 b30ab54..f560f1b 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1003,6 +1003,7 @@ COMMON_SFILES = \ dwarf2loc.c \ dwarf2read.c \ dwarf2/leb.c \ + dwarf2/section.c \ eval.c \ event-loop.c \ event-top.c \ |