gdb: remove TYPE_DYN_PROP_ADDR

Remove TYPE_DYN_PROP_ADDR, replacing its uses with calling
dynamic_prop::const_val directly.

gdb/ChangeLog:

	* gdbtypes.h (TYPE_DYN_PROP_ADDR): Remove, replace uses with
	dynamic_prop::const_val.

Change-Id: Ie99b9cd9a0627488c1c69a75e57f020d34e392af
This commit is contained in:
Simon Marchi
2020-08-04 14:47:39 -04:00
parent 8a6d5e35fe
commit 66d6346b25
3 changed files with 7 additions and 6 deletions

View File

@ -1635,10 +1635,6 @@ extern bool set_type_align (struct type *, ULONGEST);
#define TYPE_ASSOCIATED_PROP(thistype) \
((thistype)->dyn_prop (DYN_PROP_ASSOCIATED))
/* Attribute accessors for dynamic properties. */
#define TYPE_DYN_PROP_ADDR(dynprop) \
(dynprop->const_val ())
/* C++ */
#define TYPE_SELF_TYPE(thistype) internal_type_self_type (thistype)