2007-08-16 Carlos Eduardo Seo gdb/c-typeprint.c (c_type_print_base): allows GDB to show members of unnamed struct/union that couldn't be displayed otherwise using ptype. Index: src/gdb/c-typeprint.c =================================================================== --- src.orig/gdb/c-typeprint.c 2007-08-29 12:36:09.000000000 -0700 +++ src/gdb/c-typeprint.c 2007-08-29 12:57:51.000000000 -0700 @@ -733,7 +733,7 @@ fputs_filtered (" ", stream); } wrap_here (" "); - if (show < 0) + if ((show < 0) && (TYPE_TAG_NAME (type) != NULL)) { /* If we just printed a tag name, no need to print anything else. */ if (TYPE_TAG_NAME (type) == NULL)