mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
gdb: remove TYPE_VECTOR
gdb/ChangeLog: * gdbtypes.h (TYPE_VECTOR): Remove, replace all uses with type::is_vector. Change-Id: I1ac28755af44b1585c190553f9961288c8fb9137
This commit is contained in:
@ -475,7 +475,7 @@ compile_cplus_convert_array (compile_cplus_instance *instance,
|
||||
if (range->bounds ()->high.kind () == PROP_LOCEXPR
|
||||
|| range->bounds ()->high.kind () == PROP_LOCLIST)
|
||||
{
|
||||
if (TYPE_VECTOR (type))
|
||||
if (type->is_vector ())
|
||||
{
|
||||
const char *s = _("variably-sized vector type is not supported");
|
||||
|
||||
@ -499,7 +499,7 @@ compile_cplus_convert_array (compile_cplus_instance *instance,
|
||||
count = high_bound + 1;
|
||||
}
|
||||
|
||||
if (TYPE_VECTOR (type))
|
||||
if (type->is_vector ())
|
||||
return instance->plugin ().build_vector_type (element_type, count);
|
||||
|
||||
return instance->plugin ().build_array_type (element_type, count);
|
||||
|
Reference in New Issue
Block a user