Change dwarf2_attr_no_follow to be 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:22 +0000 (09:28 -0600)
commit052c8bb83a515768cd6af2f3707b6e05854cac54
tree75c7a9fb9abf44e361dbf48d7d40f6d422995c34
parent2b24b6e4a6d03efc3e76ce6912394e4a86cc387b
Change dwarf2_attr_no_follow to be a method

This changes dwarf2_attr_no_follow to be a method on die_info.

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

* dwarf2/read.c (lookup_addr_base, lookup_ranges_base)
(build_type_psymtabs_reader, read_structure_type)
(read_enumeration_type, read_full_die_1): Update.
(dwarf2_attr_no_follow): Move to die.h.
* dwarf2/die.h (struct die_info) <attr>: New method.
gdb/ChangeLog
gdb/dwarf2/die.h
gdb/dwarf2/read.c