gdb: remove TYPE_FIELD macro
[deliverable/binutils-gdb.git] / gdb / python / py-type.c
index dbe25ad8f6cd53330eb48b91bb2885ec7321605a..7862f70d472b61f5aa66e80f9b056429f1f6b2a0 100644 (file)
@@ -177,7 +177,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 (type, field)))
+  if (!field_is_static (&type->field (field)))
     {
       const char *attrstring;
 
This page took 0.023047 seconds and 4 git commands to generate.