diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:07 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:08:07 -0400 |
commit | db558e34b065552e67646879bd70867318a8ff5b (patch) | |
tree | a718e83e308dc84ee1d88d3d6f69c1af7d74ea16 /gdb/objc-lang.c | |
parent | 22c4c60c865ad3251e28b7ac60a069e20c8a0378 (diff) | |
download | binutils-db558e34b065552e67646879bd70867318a8ff5b.zip binutils-db558e34b065552e67646879bd70867318a8ff5b.tar.gz binutils-db558e34b065552e67646879bd70867318a8ff5b.tar.bz2 |
gdb: add type::endianity_is_not_default / type::set_endianity_is_not_default
Add the `endianity_is_not_default` and `set_endianity_is_not_default`
methods on `struct type`, in order to remove the
`TYPE_ENDIANITY_NOT_DEFAULT` 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) <endianity_is_not_default,
set_endianity_is_not_default>: New methods.
(TYPE_ENDIANITY_NOT_DEFAULT): Use
type::endianity_is_not_default, change all write call sites to
use type::set_endianity_is_not_default.
Change-Id: I67acd68fcdae424d7e4a601afda78612ad5d92db
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions