* [alpha] Don't force MIPS debugging on dwarf2.
@ 2011-07-08 0:25 Richard Henderson
2011-07-08 14:15 ` Joseph S. Myers
0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2011-07-08 0:25 UTC (permalink / raw)
To: GCC Patches
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.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [alpha] Don't force MIPS debugging on dwarf2.
2011-07-08 0:25 [alpha] Don't force MIPS debugging on dwarf2 Richard Henderson
@ 2011-07-08 14:15 ` Joseph S. Myers
0 siblings, 0 replies; 2+ messages in thread
From: Joseph S. Myers @ 2011-07-08 14:15 UTC (permalink / raw)
To: Richard Henderson; +Cc: GCC Patches
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.
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-08 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08 0:25 [alpha] Don't force MIPS debugging on dwarf2 Richard Henderson
2011-07-08 14:15 ` Joseph S. Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).