This is the mail archive of the
mailing list for the GCC project.
Re: [C++/debug] SDB_DEBUG (-gcoff) vs record_builtin_type vs GAS
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 10 Jun 2004 14:27:19 -0700
- Subject: Re: [C++/debug] SDB_DEBUG (-gcoff) vs record_builtin_type vs GAS
- References: <email@example.com>
Danny Smith <firstname.lastname@example.org> writes:
> * cp-lang.c: Don't define LANG_HOOKS_BUILTIN_TYPE_DECLS.
> * cp-tree.h: Don't declare cxx_builtin_type_decls.
> * decl.c (builtin_type_decls, cxx_builtin_type_decls): Delete.
> (record_builtin_type): Call debug_hooks->type_decl on the TYPE_DECL.
> Calling this hook on builtin types when SDB_DEBUG is true creates
> def statements like:
> .def _long int; .scl 13; .type 05; .endef
> GAS chokes on the embedded space in names like _long int,
Um, how did this used to work? That is, what appeared in SDB debug
output for fundamental types before this change?
> Third question:
> Does anybody really care about SDB_DEBUG? I don't, except about once
> a year someone reports a bug when using -gcoff on mingw or cygwin. Now
> that cygwin and mingw support Dwarf2 debug info in addition to DBX, I
> have even less reason to care about SDB
I certainly would be pleased to see it gone.