From bd63c870088388fc55efbf50f2dfc0592fe874e5 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 14 Sep 2020 11:08:03 -0400 Subject: gdb: remove TYPE_VECTOR gdb/ChangeLog: * gdbtypes.h (TYPE_VECTOR): Remove, replace all uses with type::is_vector. Change-Id: I1ac28755af44b1585c190553f9961288c8fb9137 --- gdb/target-descriptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/target-descriptions.c') diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 9d2d053..eadad86 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -263,7 +263,7 @@ make_gdb_type (struct gdbarch *gdbarch, struct tdesc_type *ttype) /* If any of the children of a union are vectors, flag the union as a vector also. This allows e.g. a union of two vector types to show up automatically in "info vector". */ - if (TYPE_VECTOR (field_gdb_type)) + if (field_gdb_type->is_vector ()) m_type->set_is_vector (true); } } -- cgit v1.1