diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-29 18:49:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-29 20:29:07 -0600 |
commit | e8e5c1585dc9df0b21ffddd7e6e9053b5512a726 (patch) | |
tree | 2cd3086e7ad4975c66caa986552493a2f9debd4a /gdb/tracectf.c | |
parent | d4df075e8b946da354dc11690a793cf5c17394aa (diff) | |
download | gdb-e8e5c1585dc9df0b21ffddd7e6e9053b5512a726.zip gdb-e8e5c1585dc9df0b21ffddd7e6e9053b5512a726.tar.gz gdb-e8e5c1585dc9df0b21ffddd7e6e9053b5512a726.tar.bz2 |
Change is_valid_DW_AT_defaulted to a method on attribute
This changes is_valid_DW_AT_defaulted to be a method on struct attribute.
Now it correctly respects the form of the attribute.
gdb/ChangeLog
2020-09-29 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (is_valid_DW_AT_defaulted): Move to attribute.c.
(dwarf2_add_member_fn): Update.
* dwarf2/attribute.h (struct attribute) <defaulted>: Declare.
* dwarf2/attribute.c (attribute::defaulted): New method, from
is_valid_DW_AT_defaulted.
Diffstat (limited to 'gdb/tracectf.c')
0 files changed, 0 insertions, 0 deletions