mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00: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:
@@ -61,7 +61,7 @@ convert_array (compile_c_instance *context, struct type *type)
|
||||
" is not supported"));
|
||||
|
||||
std::string upper_bound
|
||||
= c_get_range_decl_name (&TYPE_RANGE_DATA (range)->high);
|
||||
= c_get_range_decl_name (&range->bounds ()->high);
|
||||
result = context->plugin ().build_vla_array_type (element_type,
|
||||
upper_bound.c_str ());
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user