gdb: remove TYPE_DYN_PROP_KIND

Replace uses with calling the dynamic_prop::kind method directly.

gdb/ChangeLog:

	* gdbtypes.h (TYPE_DYN_PROP_KIND): Remove, replace uses with
	dynamic_prop::kind.

Change-Id: I78a3e2890f0b3e3950e9a19ad657b976cbb9610b
This commit is contained in:
Simon Marchi 2020-08-04 14:47:36 -04:00
parent 51d6067d78
commit 8a6d5e35fe
4 changed files with 12 additions and 9 deletions

View file

@ -1638,8 +1638,6 @@ extern bool set_type_align (struct type *, ULONGEST);
/* Attribute accessors for dynamic properties. */
#define TYPE_DYN_PROP_ADDR(dynprop) \
(dynprop->const_val ())
#define TYPE_DYN_PROP_KIND(dynprop) \
(dynprop->kind ())
/* C++ */