This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16588] H8 / SH
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2004 19:05:45 -0000
- Subject: [Bug target/16588] H8 / SH
- References: <20040716120316.16588.nitins2@kpitcummins.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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