aboutsummaryrefslogtreecommitdiff
path: root/gdb/ctfread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-04-01 21:10:09 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-04-01 21:10:09 -0400
commit9902b327931538037f59f9acbb80fd6097f2777a (patch)
tree98628d3536894ae94ed9ea118c1addb6f770e463 /gdb/ctfread.c
parent3bc440a2c4fcbb3b46b2b07155b1fa401d8ceb22 (diff)
downloadbinutils-9902b327931538037f59f9acbb80fd6097f2777a.zip
binutils-9902b327931538037f59f9acbb80fd6097f2777a.tar.gz
binutils-9902b327931538037f59f9acbb80fd6097f2777a.tar.bz2
gdb: add type::is_flag_enum / type::set_is_flag_enum
Add the `is_flag_enum` and `set_is_flag_enum` methods on `struct type`, in order to remove the `TYPE_FLAG_ENUM` 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_flag_enum, set_is_flag_enum>: New methods. (TYPE_FLAG_ENUM): Use type::is_flag_enum, change all write call sites to use type::set_is_flag_enum. Change-Id: I9c56c91626c8d784947ba94fcb97818526b81d1c
Diffstat (limited to 'gdb/ctfread.c')
0 files changed, 0 insertions, 0 deletions