Convert static_kind into loc_kind enum.
[deliverable/binutils-gdb.git] / gdb / value.c
index f3f2c72dab634b3f034be09e059eba77586a82f1..06b0d1e769c60d457b948077d34da0acba96e7e8 100644 (file)
@@ -1236,7 +1236,7 @@ value_static_field (struct type *type, int fieldno)
 {
   struct value *retval;
 
-  if (TYPE_FIELD_STATIC_HAS_ADDR (type, fieldno))
+  if (TYPE_FIELD_LOC_KIND (type, fieldno) == FIELD_LOC_KIND_PHYSADDR)
     {
       retval = value_at (TYPE_FIELD_TYPE (type, fieldno),
                         TYPE_FIELD_STATIC_PHYSADDR (type, fieldno));
This page took 0.024019 seconds and 4 git commands to generate.