From e46d3488de137cd5a01377513ff49e32595456af Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 14 Sep 2020 11:07:59 -0400 Subject: gdb: remove TYPE_STUB gdb/ChangeLog: * gdbtypes.h (TYPE_STUB): Remove, replace all uses with type::is_stub. Change-Id: Iec25b50449a0d10a38f815209e478c343e98632c --- gdb/python/py-type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python') diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index d0dfb52..2e175b6 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -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 (...) -- cgit v1.1