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 | 529908cbd0afc2524044b7df3626c09d0bdae12d (patch) | |
tree | 6413c3f83a42fe114ef51d04bb1408688d0f4477 /gdb/dwarf2/attribute.h | |
parent | c45bc3f8ab3b657912f07c7823ad58ba4f9fe3f1 (diff) | |
download | gdb-529908cbd0afc2524044b7df3626c09d0bdae12d.zip gdb-529908cbd0afc2524044b7df3626c09d0bdae12d.tar.gz gdb-529908cbd0afc2524044b7df3626c09d0bdae12d.tar.bz2 |
Remove DW_UNSND
This removes DW_UNSND, replacing uses with either as_unsigned or
constant_value, depending primarily on whether or not the form is
already known to be appropriate.
gdb/ChangeLog
2020-09-29 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (lookup_dwo_id, get_type_unit_group)
(read_file_scope, dwarf2_get_pc_bounds)
(dwarf2_record_block_ranges, dwarf2_add_field, get_alignment)
(read_structure_type, handle_struct_member_die)
(read_enumeration_type, read_array_type, read_set_type)
(read_tag_pointer_type, read_tag_reference_type)
(read_subroutine_type, read_base_type, read_subrange_type)
(read_full_die_1, partial_die_info::read)
(partial_die_info::read, by, new_symbol)
(dwarf2_const_value_data, dwarf2_const_value_attr)
(dump_die_shallow, dwarf2_fetch_constant_bytes)
(prepare_one_comp_unit): Update.
* dwarf2/attribute.h (DW_UNSND): Remove.
Diffstat (limited to 'gdb/dwarf2/attribute.h')
-rw-r--r-- | gdb/dwarf2/attribute.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/dwarf2/attribute.h b/gdb/dwarf2/attribute.h index f8969c9..aded129 100644 --- a/gdb/dwarf2/attribute.h +++ b/gdb/dwarf2/attribute.h @@ -305,8 +305,4 @@ private: void get_ref_die_offset_complaint () const; }; -/* Get at parts of an attribute structure. */ - -#define DW_UNSND(attr) ((attr)->u.unsnd) - #endif /* GDB_DWARF2_ATTRIBUTE_H */ |