gdb: remove TYPE_CODE macro
[deliverable/binutils-gdb.git] / gdb / mi / mi-cmd-var.c
index e73abfeeafcc930c928b8b0a96c72eed901618be..da5bf2d7fac1e6bddd706f97cb2629486ad65aa7 100644 (file)
@@ -340,9 +340,9 @@ mi_print_value_p (struct varobj *var, enum print_values print_values)
 
       /* For PRINT_SIMPLE_VALUES, only print the value if it has a type
         and that type is not a compound type.  */
-      return (TYPE_CODE (type) != TYPE_CODE_ARRAY
-             && TYPE_CODE (type) != TYPE_CODE_STRUCT
-             && TYPE_CODE (type) != TYPE_CODE_UNION);
+      return (type->code () != TYPE_CODE_ARRAY
+             && type->code () != TYPE_CODE_STRUCT
+             && type->code () != TYPE_CODE_UNION);
     }
 }
 
This page took 0.023842 seconds and 4 git commands to generate.