diff options
author | Zack Weinberg <zack@codesourcery.com> | 2004-08-25 07:34:54 +0000 |
---|---|---|
committer | Zack Weinberg <zack@codesourcery.com> | 2004-08-25 07:34:54 +0000 |
commit | 9e116e8e3800de773be7f7e6cfae3b98d2a532f3 (patch) | |
tree | 7abdfe92f2a97062a9c729c69ce849d227970c39 /gcc/cp/search.c | |
parent | f3427b7d96b2b39b2bfb19efe390977c0859f3c5 (diff) |
* flags.h (enum debug_info_type): Remove DWARF_DEBUG.
* defaults.h (PREFERRED_DEBUGGING_TYPE): Remove check for
DWARF_DEBUGGING_INFO from choice-of-definition chain;
restructure using C89 features (#elif, #error).
* c-lex.c, final.c, opts.c, config/cris/cris.c, config/frv/frv.c
* config/sh/sh.h: Remove references to DWARF_DEBUG.
* doc/invoke.texi: Remove references to DWARF version 1;
clarify why -gdwarf-2<n> doesn't work.
cp:
* class.c, search.c: Remove references to DWARF_DEBUG.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@86540 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r-- | gcc/cp/search.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 4aadf78adf8..1c52a941c4a 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -1965,15 +1965,7 @@ dfs_unmark (tree binfo, void *data ATTRIBUTE_UNUSED) void maybe_suppress_debug_info (tree t) { - /* We can't do the usual TYPE_DECL_SUPPRESS_DEBUG thing with DWARF, which - does not support name references between translation units. It supports - symbolic references between translation units, but only within a single - executable or shared library. - - For DWARF 2, we handle TYPE_DECL_SUPPRESS_DEBUG by pretending - that the type was never defined, so we only get the members we - actually define. */ - if (write_symbols == DWARF_DEBUG || write_symbols == NO_DEBUG) + if (write_symbols == NO_DEBUG) return; /* We might have set this earlier in cp_finish_decl. */ |