diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:05 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:05 -0400 |
commit | 03cc72491b8139cffaf2c6ce9db84ebc17205323 (patch) | |
tree | 9e377bf2e96a097223f90e03ffd24d794f5720d2 /README | |
parent | 3f46044c09fc5a4982f4ad99aff5b7af60d3f186 (diff) | |
download | fsf-binutils-gdb-03cc72491b8139cffaf2c6ce9db84ebc17205323.zip fsf-binutils-gdb-03cc72491b8139cffaf2c6ce9db84ebc17205323.tar.gz fsf-binutils-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 'README')
0 files changed, 0 insertions, 0 deletions