]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Change two more functions to be methods on die_info
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:25 +0000 (09:28 -0600)
commita39fdb411d43824b27d886bab42cada62a9fe431
tree5a245a46377ce009e26ec4ed2dd7b8c6aced5d4b
parent436c571c6afc8c5affe36327ab363b98ec9adb2d
Change two more functions to be methods on die_info

This changes lookup_addr_base and lookup_ranges_base to be methods on
die_info.

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

* dwarf2/die.h (struct die_info) <addr_base, ranges_base>: New
methods.
* dwarf2/read.c (lookup_addr_base): Move to die.h.
(lookup_ranges_base): Likewise.
(read_cutu_die_from_dwo, read_full_die_1): Update.
gdb/ChangeLog
gdb/dwarf2/die.h
gdb/dwarf2/read.c