This is the mail archive of the gcc-bugs@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]

[Bug target/16588] H8 / SH


------- Additional Comments From wilson at gcc dot gnu dot org  2004-08-03 19:05 -------
The GCC support for the sdb/coff debug info format is badly broken, and
currently unusable.  The .def pseudo-op takes one argument, a name, and we are
giving it two in some cases.  This causes assembler errors when compiling C++
code with -g.

The sdb/coff format can not describe C++, but we should not be emitting invalid
assembly for C++ input.  We should instead find someway to emit correct assembly
code, even though the end result will be useless to gdb.

Best solution is for end users to stop using the sdb/coff format, as it is
obsolete.  It can't describe C++, or even C89.  It can only fully describe K&R
C, and it is not extensible, so this can not be fixed.

Use --with-stabs when configuring, or define PREFERRED_DEBUGGING_TYPE to
DBX_DEBUG in h8300.h.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16588


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