Approved by Jim Blandy:
[deliverable/binutils-gdb.git] / gdb / ch-valprint.c
index 77109b5713bb45f2e9724380bd99a463092d597f..44b1c5343118bdbdc67fb7a1b8c9aa13810bee11 100644 (file)
@@ -335,7 +335,7 @@ chill_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.03924 seconds and 4 git commands to generate.