mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +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:
@ -483,7 +483,7 @@ compile_cplus_convert_array (compile_cplus_instance *instance,
|
||||
}
|
||||
|
||||
std::string upper_bound
|
||||
= c_get_range_decl_name (&TYPE_RANGE_DATA (range)->high);
|
||||
= c_get_range_decl_name (&range->bounds ()->high);
|
||||
return instance->plugin ().build_vla_array_type (element_type,
|
||||
upper_bound.c_str ());
|
||||
}
|
||||
|
Reference in New Issue
Block a user