Patchwork TPF: disable discriminators

login
register
mail settings
Submitter DJ Delorie
Date July 31, 2012, 4:07 a.m.
Message ID <201207310407.q6V47qIe028859@greed.delorie.com>
Download mbox | patch
Permalink /patch/174139/
State New
Headers show

Comments

DJ Delorie - July 31, 2012, 4:07 a.m.
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.
Richard Henderson - July 31, 2012, 4:24 p.m.
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~

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