OSDN Git Service

(dbxout_type): Make just cross refs for struct types
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1993 18:10:51 +0000 (18:10 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1993 18:10:51 +0000 (18:10 +0000)
with TYPE_DECLs marked with DECL_IGNORED_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4127 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/dbxout.c

index 02a937c..bb1d569 100644 (file)
@@ -1104,11 +1104,12 @@ dbxout_type (type, full, show_arg_types)
 
        /* Output a structure type.  */
        if ((TYPE_NAME (type) != 0
-#if 0 /* Tiemann says this creates output tha "confuses GDB".
-        Too bad the info is so vague.  Hope this doesn't lose.  */
+            /* Long ago, Tiemann said this creates output that "confuses GDB".
+               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++.  */
             && ! (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.  */