summaryrefslogtreecommitdiff
path: root/gdb/python/py-type.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:59 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:59 -0400
commite46d3488de137cd5a01377513ff49e32595456af (patch)
tree9800a3cc751efc32a82627170fc2864d7f1ce355 /gdb/python/py-type.c
parentb4b73759537ae830d8b48834b419b095561d4d4a (diff)
downloadbinutils-gdb-e46d3488de137cd5a01377513ff49e32595456af.tar.gz
gdb: remove TYPE_STUB
gdb/ChangeLog: * gdbtypes.h (TYPE_STUB): Remove, replace all uses with type::is_stub. Change-Id: Iec25b50449a0d10a38f815209e478c343e98632c
Diffstat (limited to 'gdb/python/py-type.c')
-rw-r--r--gdb/python/py-type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c
index d0dfb52811b..2e175b641d8 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 (...)