This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++/debug] SDB_DEBUG (-gcoff) vs record_builtin_type vs GAS


Danny Smith <danny_smith_0000@yahoo.co.nz> 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.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]