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
This commit is contained in:
Simon Marchi
2020-09-14 22:22:33 -04:00
committed by Simon Marchi
parent 4a8f181d19
commit 10242f367f
7 changed files with 35 additions and 35 deletions

View File

@@ -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)