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

@ -1363,7 +1363,7 @@ type_to_type_object (struct type *type)
try
{
/* Try not to let stub types leak out to Python. */
if (TYPE_STUB (type))
if (type->is_stub ())
type = check_typedef (type);
}
catch (...)