Message ID | 4E164C71.3070600@redhat.com |
---|---|
State | New |
Headers | show |
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 --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