diff mbox

[alpha] Don't force MIPS debugging on dwarf2.

Message ID 4E164C71.3070600@redhat.com
State New
Headers show

Commit Message

Richard Henderson July 8, 2011, 12:16 a.m. UTC
commit bc207f644185c3889e38406e9552fc5d43e66af5
Author: Richard Henderson <rth@redhat.com>
Date:   Wed Jul 6 13:04:49 2011 -0700

    alpha-elf: Disable stabs debugging, and the mips sdb extensions.
    
    In particular, the mips sdb extensions accidentally implied the
    irix dwarf2 extensions and restrictions.  Disable stabs because
    it's almost certainly untested for years.

Comments

Joseph Myers July 8, 2011, 2:10 p.m. UTC | #1
On Thu, 7 Jul 2011, Richard Henderson wrote:

>     alpha-elf: Disable stabs debugging, and the mips sdb extensions.
>     
>     In particular, the mips sdb extensions accidentally implied the
>     irix dwarf2 extensions and restrictions.  Disable stabs because
>     it's almost certainly untested for years.

With this in, the only alpha target that ends up with MIPS_DEBUGGING_INFO 
defined is alpha*-dec-osf5.1*; all others use alpha/elf.h or alpha/vms.h.  
And the only other targets defining MIPS_DEBUGGING_INFO are Irix and MIPS 
OpenBSD - that is, all targets defining this macro are on the deprecation 
list.  So once we remove the deprecated targets after 4.7 branches we can 
remove all support for MIPS_DEBUGGING_INFO and poison the macro.
diff mbox

Patch

diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h
index 0293f26..8fa1745 100644
--- a/gcc/config/alpha/elf.h
+++ b/gcc/config/alpha/elf.h
@@ -25,8 +25,9 @@  along with GCC; see the file COPYING3.  If not see
 
 /* ??? Move all SDB stuff from alpha.h to osf.h.  */
 #undef SDB_DEBUGGING_INFO
+#undef MIPS_DEBUGGING_INFO
+#undef DBX_DEBUGGING_INFO
 
-#define DBX_DEBUGGING_INFO 1
 #define DWARF2_DEBUGGING_INFO 1
 
 #undef  PREFERRED_DEBUGGING_TYPE