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 b68ec8d..feb94ef 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -154,7 +154,7 @@ convert_field (struct type *type, int field) if (PyObject_SetAttrString (result.get (), "parent_type", arg.get ()) < 0) return NULL; - if (!field_is_static (&type->field (field))) + if (!type->field (field).is_static ()) { const char *attrstring; |