(dbxout_type): Reinstall #if 0 around code for
authorRichard Stallman <rms@gnu.org>
Sat, 19 Jun 1993 09:57:10 +0000 (09:57 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 19 Jun 1993 09:57:10 +0000 (09:57 +0000)
outputting structure types, that confused GDB.

From-SVN: r4698

gcc/dbxout.c

index 4b9f2e88814f367013ad3f17d04fa185461c0780..4f3a348c60244e1c7b709bb409b68151f0f3550d 100644 (file)
@@ -1108,8 +1108,10 @@ dbxout_type (type, full, show_arg_types)
                In April 93, mrs@cygnus.com said there is no such problem.
                The type decls made automatically by struct specifiers
                are marked with DECL_IGNORED_P in C++.  */
+#if 0 /* This creates output for anonymous classes which confuses GDB. */
             && ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
                   && DECL_IGNORED_P (TYPE_NAME (type)))
+#endif
             && !full)
            || TYPE_SIZE (type) == 0
            /* No way in DBX fmt to describe a variable size.  */