gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / c-varobj.c
index 6cb260ddc91a86388569645899d5edffc7e8c548..2be447a86609a1a82eeb743fd16b317907bab564 100644 (file)
@@ -254,7 +254,7 @@ value_struct_element_index (struct value *value, int type_index)
 
   try
     {
-      if (field_is_static (&TYPE_FIELD (type, type_index)))
+      if (field_is_static (&type->field (type_index)))
        result = value_static_field (type, type_index);
       else
        result = value_primitive_field (value, 0, type_index, type);
This page took 0.031874 seconds and 4 git commands to generate.