gdb: remove TYPE_CODE macro
[deliverable/binutils-gdb.git] / gdb / mi / mi-cmd-stack.c
index 112cc283fd40f8118d6e65a32e96fd3c86bdb00e..ef0910936209c319192e378de1e9237497eb6c10 100644 (file)
@@ -650,9 +650,9 @@ list_args_or_locals (const frame_print_options &fp_opts,
                {
                case PRINT_SIMPLE_VALUES:
                  type = check_typedef (sym2->type);
-                 if (TYPE_CODE (type) != TYPE_CODE_ARRAY
-                     && TYPE_CODE (type) != TYPE_CODE_STRUCT
-                     && TYPE_CODE (type) != TYPE_CODE_UNION)
+                 if (type->code () != TYPE_CODE_ARRAY
+                     && type->code () != TYPE_CODE_STRUCT
+                     && type->code () != TYPE_CODE_UNION)
                    {
                case PRINT_ALL_VALUES:
                  if (SYMBOL_IS_ARGUMENT (sym))
This page took 0.033049 seconds and 4 git commands to generate.