This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Change the default debugging info of m32r to DWARF2
- From: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 15 Dec 2004 13:34:38 +0900
- Subject: [PATCH] Change the default debugging info of m32r to DWARF2
Hi Nick,
We start to change the default debugging info of m32r target to DWARF2
on gcc-4.0.
Please commit this patch.
This patch will be able to avoid PR 18170 too.
Regards,
Kazuhiro Inaoka
gcc/ChangeLog
2004-12-15 Kazuhiro Inaoka <inaoka.kazuhiro@reneasas.com>
* config/m32r/m32r.h (PREFERRED_DEBUGGING_TYPE):
Use DWARF2_DEBUG.
Index: m32r.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m32r/m32r.h,v
retrieving revision 1.123
diff -u -r1.123 m32r.h
--- m32r.h 28 Oct 2004 08:49:48 -0000 1.123
+++ m32r.h 15 Dec 2004 04:16:15 -0000
@@ -1696,9 +1696,9 @@
#define DBX_DEBUGGING_INFO 1
#define DWARF2_DEBUGGING_INFO 1
-/* Prefer STABS (for now). */
+/* Use DWARF2 debugging info by default. (gcc-4.0.0) */
#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
/* Turn off splitting of long stabs. */
#define DBX_CONTIN_LENGTH 0