gdb: remove TYPE_STUB

gdb/ChangeLog:

	* gdbtypes.h (TYPE_STUB): Remove, replace all
	uses with type::is_stub.

Change-Id: Iec25b50449a0d10a38f815209e478c343e98632c
This commit is contained in:
Simon Marchi
2020-09-14 11:07:59 -04:00
parent b4b7375953
commit e46d3488de
13 changed files with 31 additions and 28 deletions

View File

@ -383,7 +383,7 @@ m2_value_print_inner (struct value *val, struct ui_file *stream, int recurse,
case TYPE_CODE_SET:
elttype = type->index_type ();
elttype = check_typedef (elttype);
if (TYPE_STUB (elttype))
if (elttype->is_stub ())
{
fprintf_styled (stream, metadata_style.style (),
_("<incomplete type>"));