aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:06 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:06 -0400
commit0becda7a5a1845c7e91ccba1b27da3607de3f534 (patch)
tree8b1e4adc8efbc2519504ae34b664406bab7d1c25 /gdb/eval.c
parent03cc72491b8139cffaf2c6ce9db84ebc17205323 (diff)
downloadgdb-0becda7a5a1845c7e91ccba1b27da3607de3f534.zip
gdb-0becda7a5a1845c7e91ccba1b27da3607de3f534.tar.gz
gdb-0becda7a5a1845c7e91ccba1b27da3607de3f534.tar.bz2
gdb: remove TYPE_GNU_IFUNC
gdb/ChangeLog: * gdbtypes.h (TYPE_GNU_IFUNC): Remove, replace all uses with type::is_gnu_ifunc. Change-Id: I72aae22599b5e582910c5d50588feaf159032bd8
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c4
1 files changed, 2 insertions, 2 deletions
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);