gdb: Convert language la_iterate_over_symbols field to a method
[deliverable/binutils-gdb.git] / gdb / windows-tdep.c
index 6eec2577f38614dac952e7c7df8c3806802a3383..aa0adeba99b7a9358ba09e3a5a0db32e8a6ce8e8 100644 (file)
@@ -759,7 +759,7 @@ create_enum (struct gdbarch *gdbarch, int bit, const char *name,
   for (i = 0; i < count; i++)
   {
     TYPE_FIELD_NAME (type, i) = values[i].name;
-    SET_FIELD_ENUMVAL (TYPE_FIELD (type, i), values[i].value);
+    SET_FIELD_ENUMVAL (type->field (i), values[i].value);
   }
 
   return type;
This page took 0.022805 seconds and 4 git commands to generate.