diff options
author | Tom Tromey <tom@tromey.com> | 2020-03-26 09:28:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-03-26 09:28:09 -0600 |
commit | 0314b3901c9cdc21ef9f0c1b0b88528d6f8d3073 (patch) | |
tree | 510d3db9bc12b6ecdfa9128deb1256587ef6d813 /gdb/Makefile.in | |
parent | 9fda78b61127cbcf718104b7e5a78cf137c07836 (diff) | |
download | gdb-0314b3901c9cdc21ef9f0c1b0b88528d6f8d3073.zip gdb-0314b3901c9cdc21ef9f0c1b0b88528d6f8d3073.tar.gz gdb-0314b3901c9cdc21ef9f0c1b0b88528d6f8d3073.tar.bz2 |
Add dwz.c and dwz_file::read_string
This changes read_indirect_string_from_dwz to be a method on the
dwz_file, and adds a new dwarf2/dwz.c file.
gdb/ChangeLog
2020-03-26 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (read_attribute_value): Update.
(read_indirect_string_from_dwz): Move to dwz.c; change into
method.
(dwarf_decode_macro_bytes): Update.
* dwarf2/dwz.h (struct dwz_file) <read_string>: Declare method.
* dwarf2/dwz.c: New file.
* Makefile.in (COMMON_SFILES): Add dwz.c.
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 0c331af..c9450ce 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1003,6 +1003,7 @@ COMMON_SFILES = \ dwarf2/abbrev.c \ dwarf2/attribute.c \ dwarf2/comp-unit.c \ + dwarf2/dwz.c \ dwarf2/expr.c \ dwarf2/frame-tailcall.c \ dwarf2/frame.c \ |