diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 22:22:33 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-09-14 22:22:33 -0400 |
commit | 10242f367fe102a4d55574c930ebfb389dbd233d (patch) | |
tree | a1d1f91f5739cf0614533b97dea590f0d5faba0f /gdb/c-typeprint.c | |
parent | 4a8f181d196f85ca153fe51ca6bb40942e0e1ed7 (diff) | |
download | binutils-gdb-10242f367fe102a4d55574c930ebfb389dbd233d.tar.gz |
gdb: remove TYPE_INSTANCE_FLAGS
Remove it, use the `type::instance_flags` method everywhere.
gdb/ChangeLog:
* gdbtypes.h (TYPE_INSTANCE_FLAGS): Remove, replace all uses
with `type::instance_flags`.
Change-Id: I3653108b712e6186529cb0102e2b70247bbcabbe
Diffstat (limited to 'gdb/c-typeprint.c')
-rw-r--r-- | gdb/c-typeprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index a07b29a95de..d89c420add6 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -528,7 +528,7 @@ c_type_print_modifier (struct type *type, struct ui_file *stream, address_space_id = address_space_type_instance_flags_to_name (get_type_arch (type), - TYPE_INSTANCE_FLAGS (type)); + type->instance_flags ()); if (address_space_id) { if (did_print_modifier || need_pre_space) |