aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:06 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:08:06 -0400
commit9cdd0d12cc05495da96559ce80ad5b0467d33417 (patch)
tree97b897147678aea3e2245118845d31962548d3ac /gdbsupport
parent0becda7a5a1845c7e91ccba1b27da3607de3f534 (diff)
downloadgdb-9cdd0d12cc05495da96559ce80ad5b0467d33417.zip
gdb-9cdd0d12cc05495da96559ce80ad5b0467d33417.tar.gz
gdb-9cdd0d12cc05495da96559ce80ad5b0467d33417.tar.bz2
gdb: add type::is_fixed_instance / type::set_is_fixed_instance
Add the `is_fixed_instance` and `set_is_fixed_instance` methods on `struct type`, in order to remove the `TYPE_FIXED_INSTANCE` 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_fixed_instance, set_is_fixed_instance>: New methods. (TYPE_FIXED_INSTANCE): Use type::is_fixed_instance, change all write call sites to use type::set_is_fixed_instance. Change-Id: I4401d81512fab9eab4232bbea48ce6c7d586b94c
Diffstat (limited to 'gdbsupport')
0 files changed, 0 insertions, 0 deletions