aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:05 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:05 -0400
commit03cc72491b8139cffaf2c6ce9db84ebc17205323 (patch)
tree9e377bf2e96a097223f90e03ffd24d794f5720d2 /gdb/infcall.c
parent3f46044c09fc5a4982f4ad99aff5b7af60d3f186 (diff)
downloadgdb-03cc72491b8139cffaf2c6ce9db84ebc17205323.zip
gdb-03cc72491b8139cffaf2c6ce9db84ebc17205323.tar.gz
gdb-03cc72491b8139cffaf2c6ce9db84ebc17205323.tar.bz2
gdb: add type::is_gnu_ifunc / type::set_is_gnu_ifunc
Add the `is_gnu_ifunc` and `set_is_gnu_ifunc` methods on `struct type`, in order to remove the `TYPE_GNU_IFUNC` macro. In this patch, the macro is changed to use the getter, so all the call sites of the macro that are used as a setter are changed to use the setter method directly. The next patch will remove the macro completely. gdb/ChangeLog: * gdbtypes.h (struct type) <is_gnu_ifunc, set_is_gnu_ifunc>: New methods. (TYPE_GNU_IFUNC): Use type::is_gnu_ifunc, change all write call sites to use type::set_is_gnu_ifunc. Change-Id: Ic23ba8c5b8e589d9fc368385111aa16a94e014e2
Diffstat (limited to 'gdb/infcall.c')
0 files changed, 0 insertions, 0 deletions