Approved by Jim Blandy:
[deliverable/binutils-gdb.git] / gdb / p-valprint.c
index 29503a093e0197da9425c4e54fa053a490568d59..3cad5f84f7059a01a58e9ff2d3ab70c89cc8bacb 100644 (file)
@@ -445,7 +445,7 @@ pascal_val_print (struct type *type, char *valaddr, int embedded_offset,
     case TYPE_CODE_SET:
       elttype = TYPE_INDEX_TYPE (type);
       CHECK_TYPEDEF (elttype);
-      if (TYPE_FLAGS (elttype) & TYPE_FLAG_STUB)
+      if (TYPE_STUB (elttype))
        {
          fprintf_filtered (stream, "<incomplete type>");
          gdb_flush (stream);
This page took 0.02484 seconds and 4 git commands to generate.