sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG unconditionally.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 5 Apr 2004 04:22:57 +0000 (06:22 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 5 Apr 2004 04:22:57 +0000 (04:22 +0000)
* config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Set
to DWARF2_DEBUG unconditionally.
(ASM_DEBUG_SPEC): Set the default to --gdwarf2 unconditionally.

From-SVN: r80425

gcc/ChangeLog
gcc/config/sparc/sol2-bi.h

index d5486f2f667767a275fde556300fea7d3c5ff71b..a2f3179776edaf1e7cb22f0e16aa91f68c0426f8 100644 (file)
@@ -1,3 +1,9 @@
+2004-04-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Set
+       to DWARF2_DEBUG unconditionally.
+       (ASM_DEBUG_SPEC): Set the default to --gdwarf2 unconditionally.
+
 2004-04-04  Ian Lance Taylor  <ian@wasabisystems.com>
            Nathanael Nerode  <neroden@gcc.gnu.org>
 
index 43180c971bd6f09ec74c1e61c80f61e3a7a19597..eab3a1abc5e3edeeab92ce29394658cb0e2bcd3a 100644 (file)
 #define MULTILIB_DEFAULTS { "m64" }
 #endif
 
-/* We use stabs-in-elf in 32-bit mode, because that is what the native
-   toolchain uses.  But gdb can't handle truncated 32-bit stabs so we
-   use dwarf2 in 64-bit mode.  */
 #undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE (TARGET_ARCH32 ? DBX_DEBUG : DWARF2_DEBUG)
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 
-/* We can't use the above definition for the purposes of specs.  */
 #if defined(HAVE_AS_GDWARF2_DEBUG_FLAG) && defined(HAVE_AS_GSTABS_DEBUG_FLAG)
-# if DEFAULT_ARCH32_P
-#  define ASM_DEBUG_SPEC "%{gdwarf-2*:--gdwarf2}%{!gdwarf-2*:%{g*:--gstabs}}"
-# else
-#  define ASM_DEBUG_SPEC "%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}"
-# endif
+# define ASM_DEBUG_SPEC "%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}"
 #endif