(dbxout_type): Reinstall #if 0 around code for

outputting structure types, that confused GDB.

From-SVN: r4698
This commit is contained in:
Richard Stallman 1993-06-19 09:57:10 +00:00
parent 9f323d310f
commit af0da0b8cb

View 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. */