summaryrefslogtreecommitdiff
path: root/gdb/c-typeprint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 22:22:33 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-09-14 22:22:33 -0400
commit10242f367fe102a4d55574c930ebfb389dbd233d (patch)
treea1d1f91f5739cf0614533b97dea590f0d5faba0f /gdb/c-typeprint.c
parent4a8f181d196f85ca153fe51ca6bb40942e0e1ed7 (diff)
downloadbinutils-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.c2
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)