gdb: Show type summary for anonymous structures from c_print_typedef
[external/binutils.git] / gdb / c-typeprint.c
index 6690ca5..43ad3b3 100644 (file)
@@ -205,7 +205,7 @@ c_print_typedef (struct type *type,
 {
   type = check_typedef (type);
   fprintf_filtered (stream, "typedef ");
-  type_print (type, "", stream, 0);
+  type_print (type, "", stream, -1);
   if (TYPE_NAME ((SYMBOL_TYPE (new_symbol))) == 0
       || strcmp (TYPE_NAME ((SYMBOL_TYPE (new_symbol))),
                 SYMBOL_LINKAGE_NAME (new_symbol)) != 0