mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
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.
This commit is contained in:
@ -439,7 +439,7 @@ enum dynamic_prop_node_kind
|
||||
{
|
||||
/* 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. */
|
||||
@ -1258,7 +1258,7 @@ extern void allocate_gnat_aux_type (struct type *);
|
||||
|
||||
/* 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) \
|
||||
|
Reference in New Issue
Block a user