Approved by Jim Blandy:
[deliverable/binutils-gdb.git] / gdb / jv-typeprint.c
index c0d9ec9290354c5c3157c12a63380926a0e9aeb6..893082cc187ebb9e7498024cc670c2bad7c60768 100644 (file)
@@ -152,7 +152,7 @@ java_type_print_base (struct type *type, struct ui_file *stream, int show,
          fprintf_filtered (stream, "{\n");
          if ((TYPE_NFIELDS (type) == 0) && (TYPE_NFN_FIELDS (type) == 0))
            {
-             if (TYPE_FLAGS (type) & TYPE_FLAG_STUB)
+             if (TYPE_STUB (type))
                fprintfi_filtered (level + 4, stream, "<incomplete type>\n");
              else
                fprintfi_filtered (level + 4, stream, "<no data fields>\n");
This page took 0.024396 seconds and 4 git commands to generate.