aboutsummaryrefslogtreecommitdiff
path: root/gdb/po
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-04-01 21:10:08 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-04-01 21:10:08 -0400
commitaa70e35c71a2bfa8c2733878b665edb39c171d34 (patch)
tree5d8bcf5241d4d3d37f6cd32468765295dfba68c5 /gdb/po
parent3451a2d7a3501e9c3fc344cbc4950c495f30c16d (diff)
downloadbinutils-aa70e35c71a2bfa8c2733878b665edb39c171d34.zip
binutils-aa70e35c71a2bfa8c2733878b665edb39c171d34.tar.gz
binutils-aa70e35c71a2bfa8c2733878b665edb39c171d34.tar.bz2
gdb: add type::is_declared_class / type::set_is_declared_class
Add the `is_declared_class` and `set_is_declared_class` methods on `struct type`, in order to remove the `TYPE_DECLARED_CLASS` 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_declared_class, set_is_declared_class>: New methods. (TYPE_DECLARED_CLASS): Use type::is_declared_class, change all write call sites to use type::set_is_declared_class. Change-Id: Idf08d32e137c885a0aba0a18f556a899c1cbfd68
Diffstat (limited to 'gdb/po')
0 files changed, 0 insertions, 0 deletions