From 0becda7a5a1845c7e91ccba1b27da3607de3f534 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 14 Sep 2020 11:08:06 -0400 Subject: gdb: remove TYPE_GNU_IFUNC gdb/ChangeLog: * gdbtypes.h (TYPE_GNU_IFUNC): Remove, replace all uses with type::is_gnu_ifunc. Change-Id: I72aae22599b5e582910c5d50588feaf159032bd8 --- gdb/eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/eval.c') diff --git a/gdb/eval.c b/gdb/eval.c index 2d27198..e5e88f3 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -735,7 +735,7 @@ evaluate_var_msym_value (enum noside noside, CORE_ADDR address; type *the_type = find_minsym_type_and_address (msymbol, objfile, &address); - if (noside == EVAL_AVOID_SIDE_EFFECTS && !TYPE_GNU_IFUNC (the_type)) + if (noside == EVAL_AVOID_SIDE_EFFECTS && !the_type->is_gnu_ifunc ()) return value_zero (the_type, not_lval); else return value_at_lazy (the_type, address); @@ -793,7 +793,7 @@ eval_call (expression *exp, enum noside noside, else if (ftype->code () == TYPE_CODE_FUNC || ftype->code () == TYPE_CODE_METHOD) { - if (TYPE_GNU_IFUNC (ftype)) + if (ftype->is_gnu_ifunc ()) { CORE_ADDR address = value_address (argvec[0]); type *resolved_type = find_gnu_ifunc_target_type (address); -- cgit v1.1