From 27710edb4e588d0360620df424dd7ee7e8cfafee Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 30 Jul 2022 22:43:54 -0400 Subject: gdb: remove TYPE_TARGET_TYPE Remove the macro, replace all uses by calls to type::target_type. Change-Id: Ie51d3e1e22f94130176d6abd723255282bb6d1ed --- gdb/tic6x-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tic6x-tdep.c') diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c index 77576834733..df3295edc65 100644 --- a/gdb/tic6x-tdep.c +++ b/gdb/tic6x-tdep.c @@ -885,7 +885,7 @@ tic6x_push_dummy_call (struct gdbarch *gdbarch, struct value *function, /* Determine the type of this function. */ func_type = check_typedef (func_type); if (func_type->code () == TYPE_CODE_PTR) - func_type = check_typedef (TYPE_TARGET_TYPE (func_type)); + func_type = check_typedef (func_type->target_type ()); gdb_assert (func_type->code () == TYPE_CODE_FUNC || func_type->code () == TYPE_CODE_METHOD); -- cgit v1.2.1