diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-type.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 (...) |