]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Convert read_indirect_line_string to a method
authorTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:08 +0000 (09:28 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 26 Mar 2020 15:28:19 +0000 (09:28 -0600)
commit86c0bb4c57111422b30da6b1b20256bd3a06778a
treef5f8e063e99150eb56000aa93825a3bc1791bbe6
parent2ef46c2fbbd18c3f411ef294c2c6694a1308a5a5
Convert read_indirect_line_string to a method

This changes read_indirect_line_string to be a method on
dwarf2_per_objfile.  This makes it a bit simpler to share between
files.

gdb/ChangeLog
2020-03-26  Tom Tromey  <tom@tromey.com>

* dwarf2/read.h (struct dwarf2_per_objfile) <read_line_string>:
Declare method.
* dwarf2/read.c (read_attribute_value): Update.
(dwarf2_per_objfile::read_line_string): Rename from
read_indirect_line_string.
(read_formatted_entries): Update.
gdb/ChangeLog
gdb/dwarf2/read.c
gdb/dwarf2/read.h