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:55 -0700 |
commit | 3054dd54700066c423fe73731ab46ea2a9c3f541 (patch) | |
tree | 2886ae5e6f935730da5f3b5acc6210b56a41aa3a /gdb/Makefile.in | |
parent | 96b792931fe4dd30f42eecd711ad5e44b6b135a3 (diff) | |
download | gdb-3054dd54700066c423fe73731ab46ea2a9c3f541.zip gdb-3054dd54700066c423fe73731ab46ea2a9c3f541.tar.gz gdb-3054dd54700066c423fe73731ab46ea2a9c3f541.tar.bz2 |
Create dwarf2/abbrev.[ch]
This moves the abbrev table code out of dwarf2read.c and into new
files dwarf2/abbrev.[ch].
gdb/ChangeLog
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2read.c (abbrev_table_up, struct abbrev_info)
(struct attr_abbrev, ABBREV_HASH_SIZE, struct abbrev_table):
Move.
(read_cutu_die_from_dwo, build_type_psymtabs_1): Update.
(abbrev_table::alloc_abbrev, abbrev_table::add_abbrev)
(abbrev_table::lookup_abbrev, abbrev_table_read_table): Move to
abbrev.c.
* dwarf2/abbrev.h: New file.
* dwarf2/abbrev.c: New file, from dwarf2read.c.
* Makefile.in (COMMON_SFILES): Add dwarf2/abbrev.c.
Change-Id: I87911bc5297de4407587ca849fef8e8d19136c30
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 f560f1b..12abfa4 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1002,6 +1002,7 @@ COMMON_SFILES = \ dwarf2expr.c \ dwarf2loc.c \ dwarf2read.c \ + dwarf2/abbrev.c \ dwarf2/leb.c \ dwarf2/section.c \ eval.c \ |