diff options
author | Richard Stallman <rms@gnu.org> | 1993-06-19 09:57:10 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-06-19 09:57:10 +0000 |
commit | af0da0b8cb21be42c90b14417a87af8d45b63582 (patch) | |
tree | 02d4953cd3395816b6f2f5765bd53ca93e65c5e7 /gcc | |
parent | 9f323d310f21994e9656096365dcc3375ce92035 (diff) | |
download | gcc-af0da0b8cb21be42c90b14417a87af8d45b63582.zip gcc-af0da0b8cb21be42c90b14417a87af8d45b63582.tar.gz gcc-af0da0b8cb21be42c90b14417a87af8d45b63582.tar.bz2 |
(dbxout_type): Reinstall #if 0 around code for
outputting structure types, that confused GDB.
From-SVN: r4698
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/dbxout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 4b9f2e8..4f3a348 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. */ |