diff mbox

TPF: disable discriminators

Message ID 201207310407.q6V47qIe028859@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie July 31, 2012, 4:07 a.m. UTC
The TPF assembler supports dwarf4 discriminators, but the TPF
debuggers do not.  Ok to apply?

	* config/s390/tpf.h (SUPPORTS_DISCRIMINATOR): Define to 0 for TPF.

Comments

Richard Henderson July 31, 2012, 4:24 p.m. UTC | #1
On 2012-07-30 21:07, DJ Delorie wrote:
> +
> +/* GAS supports it, but the debuggers don't, so avoid it.  */
> +#define SUPPORTS_DISCRIMINATOR 0

Then you shouldn't be fiddling this, but rather dwarf_strict.
See e.g. darwin and vxworks ports.


r~
diff mbox

Patch

Index: gcc/config/s390/tpf.h
===================================================================
--- gcc/config/s390/tpf.h       (revision 189993)
+++ gcc/config/s390/tpf.h       (working copy)
@@ -116,3 +116,6 @@ 
 #define MATH_LIBRARY "CLBM"
 #define LIBSTDCXX "CPP2"
 #endif /* ! _TPF_H */
+
+/* GAS supports it, but the debuggers don't, so avoid it.  */
+#define SUPPORTS_DISCRIMINATOR 0