From af0da0b8cb21be42c90b14417a87af8d45b63582 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 19 Jun 1993 09:57:10 +0000 Subject: [PATCH] (dbxout_type): Reinstall #if 0 around code for outputting structure types, that confused GDB. From-SVN: r4698 --- gcc/dbxout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 4b9f2e88814..4f3a348c602 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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. */ -- 2.30.2