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/elfread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/elfread.c') diff --git a/gdb/elfread.c b/gdb/elfread.c index 13dbaf0..77e5865 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -983,7 +983,7 @@ elf_gnu_ifunc_resolver_return_stop (code_breakpoint *b) thread_info *thread = inferior_thread (); struct gdbarch *gdbarch = get_frame_arch (get_current_frame ()); struct type *func_func_type = builtin_type (gdbarch)->builtin_func_func; - struct type *value_type = TYPE_TARGET_TYPE (func_func_type); + struct type *value_type = func_func_type->target_type (); struct regcache *regcache = get_thread_regcache (thread); struct value *func_func; struct value *value; -- cgit v1.1