mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
gdb: remove TYPE_ARRAY_{LOWER,UPPER}_BOUND_VALUE
Remove the macros, use the various equivalent getters instead. gdb/ChangeLog: * gdbtypes.h (TYPE_ARRAY_LOWER_BOUND_VALUE, TYPE_ARRAY_UPPER_BOUND_VALUE): Remove. Update all callers to use the equivalent accessor methods instead. Change-Id: I7f96d988f872170e7a2f58095832710e62b85cfd
This commit is contained in:

committed by
Simon Marchi

parent
39498edbc8
commit
bb789949e9
@ -1628,12 +1628,6 @@ extern bool set_type_align (struct type *, ULONGEST);
|
||||
/* Accessors for struct range_bounds data attached to an array type's
|
||||
index type. */
|
||||
|
||||
#define TYPE_ARRAY_UPPER_BOUND_VALUE(arraytype) \
|
||||
((arraytype)->index_type ()->bounds ()->high.const_val ())
|
||||
|
||||
#define TYPE_ARRAY_LOWER_BOUND_VALUE(arraytype) \
|
||||
((arraytype)->index_type ()->bounds ()->low.const_val ())
|
||||
|
||||
#define TYPE_ARRAY_BIT_STRIDE(arraytype) \
|
||||
(TYPE_BIT_STRIDE(((arraytype)->index_type ())))
|
||||
|
||||
|
Reference in New Issue
Block a user