mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +08:00
gdb: remove TYPE_RANGE_DATA macro
Remove it in favor of using type::bounds directly. gdb/ChangeLog: * gdbtypes.h (TYPE_RANGE_DATA): Remove. Update callers to use the type::bounds method directly. Change-Id: Id4fab22af0a94cbf505f78b01b3ee5b3d682fba2
This commit is contained in:
@ -2250,7 +2250,7 @@ has_negatives (struct type *type)
|
||||
case TYPE_CODE_INT:
|
||||
return !TYPE_UNSIGNED (type);
|
||||
case TYPE_CODE_RANGE:
|
||||
return TYPE_LOW_BOUND (type) - TYPE_RANGE_DATA (type)->bias < 0;
|
||||
return TYPE_LOW_BOUND (type) - type->bounds ()->bias < 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user