diff options
author | Joel Brobecker <brobecker@adacore.com> | 2015-03-24 11:03:21 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-03-24 11:24:43 -0700 |
commit | 93a8e2276fadd7dbb323d7cf4b082c33b32073d5 (patch) | |
tree | e131d4daadcb50cc1e735d88b8fd22028c6bcd82 /gdb/dwarf2read.c | |
parent | 64ce06e4cd025f3486465a0070baad47248ec69e (diff) | |
download | binutils-93a8e2276fadd7dbb323d7cf4b082c33b32073d5.zip binutils-93a8e2276fadd7dbb323d7cf4b082c33b32073d5.tar.gz binutils-93a8e2276fadd7dbb323d7cf4b082c33b32073d5.tar.bz2 |
GDB: rename DYN_ATTR_DATA_LOCATION into DYN_PROP_DATA_LOCATION.
The terminology we've been using is (dynamic) "property" rather than
"attribute", so this patch renames an enum to use the same terminology.
No behavior change.
gdb/ChangeLog:
* gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_DATA_LOCATION>:
Renames DYN_ATTR_DATA_LOCATION.
(TYPE_DATA_LOCATION): Use DYN_PROP_DATA_LOCATION instead of
DYN_ATTR_DATA_LOCATION.
* dwarf2read.c (set_die_type): Use DYN_PROP_DATA_LOCATION
instead of DYN_ATTR_DATA_LOCATION.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 4946b48..96c5a33 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -22102,7 +22102,7 @@ set_die_type (struct die_info *die, struct type *type, struct dwarf2_cu *cu) /* Read DW_AT_data_location and set in type. */ attr = dwarf2_attr (die, DW_AT_data_location, cu); if (attr_to_dynamic_prop (attr, die, cu, &prop)) - add_dyn_prop (DYN_ATTR_DATA_LOCATION, prop, type, objfile); + add_dyn_prop (DYN_PROP_DATA_LOCATION, prop, type, objfile); if (dwarf2_per_objfile->die_type_hash == NULL) { |