gdb: remove TYPE_LOW_BOUND_KIND and TYPE_HIGH_BOUND_KIND
Remove the macros, use the getters of `struct dynamic_prop` instead. gdb/ChangeLog: * gdbtypes.h (TYPE_LOW_BOUND_KIND, TYPE_HIGH_BOUND_KIND): Remove. Update all callers to use dynamic_prop::kind. Change-Id: Icb1fc761f675bfac934209f8102392504d905c44
This commit is contained in:
parent
064d9cb9e7
commit
3b606f384d
7 changed files with 18 additions and 16 deletions
|
@ -1594,10 +1594,6 @@ extern unsigned type_align (struct type *);
|
|||
space in struct type. */
|
||||
extern bool set_type_align (struct type *, ULONGEST);
|
||||
|
||||
#define TYPE_HIGH_BOUND_KIND(range_type) \
|
||||
((range_type)->bounds ()->high.kind ())
|
||||
#define TYPE_LOW_BOUND_KIND(range_type) \
|
||||
((range_type)->bounds ()->low.kind ())
|
||||
#define TYPE_BIT_STRIDE(range_type) \
|
||||
((range_type)->bounds ()->stride.const_val () \
|
||||
* ((range_type)->bounds ()->flag_is_byte_stride ? 8 : 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue