+2015-03-24 Joel Brobecker <brobecker@adacore.com>
+
+ * 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.
+
2015-03-24 Pedro Alves <palves@redhat.com>
* breakpoint.c (until_break_command): Adjust call to proceed.
/* 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)
{
{
/* A property providing a type's data location.
Evaluating this field yields to the location of an object's data. */
- DYN_ATTR_DATA_LOCATION,
+ DYN_PROP_DATA_LOCATION,
};
/* * List for dynamic type attributes. */
/* Property accessors for the type data location. */
#define TYPE_DATA_LOCATION(thistype) \
- get_dyn_prop (DYN_ATTR_DATA_LOCATION, thistype)
+ get_dyn_prop (DYN_PROP_DATA_LOCATION, thistype)
#define TYPE_DATA_LOCATION_BATON(thistype) \
TYPE_DATA_LOCATION (thistype)->data.baton
#define TYPE_DATA_LOCATION_ADDR(thistype) \