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/infcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/infcall.c') diff --git a/gdb/infcall.c b/gdb/infcall.c index a158cb5..9539d38 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -220,7 +220,7 @@ value_arg_coerce (struct gdbarch *gdbarch, struct value *arg, they are vectors, in which case we want to leave them alone, because they are passed by value. */ if (current_language->c_style_arrays) - if (!TYPE_VECTOR (type)) + if (!type->is_vector ()) type = lookup_pointer_type (TYPE_TARGET_TYPE (type)); break; case TYPE_CODE_UNDEF: -- cgit v1.1