From: Olivier Hainque Date: Thu, 3 Mar 2022 16:58:51 +0000 (+0000) Subject: Downgrade DWARF_VERSION_DEFAULT to 3 for VxWorks >= 7 X-Git-Tag: basepoints/gcc-14~4061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ab375cbd07f71edb481358c3bcf5916df9aadf;p=thirdparty%2Fgcc.git Downgrade DWARF_VERSION_DEFAULT to 3 for VxWorks >= 7 Using 4 as the DWARF_VERSION_DEFAULT value for VxWorks observably still hangs recent system debuggers on tbreak for some contructs, and downgrading to 3 improves the situation. 2022-03-06 Olivier Hainque gcc/ * config/vxworks.h (DWARF_VERSION_DEFAULT): Adjust from 4 to 3 for VxWorks >= 7. --- diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h index d6ac83b2bd2d..075a45109e81 100644 --- a/gcc/config/vxworks.h +++ b/gcc/config/vxworks.h @@ -380,7 +380,7 @@ extern void vxworks_emit_call_builtin___clear_cache (rtx begin, rtx end); with VxWorks. */ #undef DWARF_VERSION_DEFAULT -#define DWARF_VERSION_DEFAULT (TARGET_VXWORKS7 ? 4 : 2) +#define DWARF_VERSION_DEFAULT (TARGET_VXWORKS7 ? 3 : 2) #undef DWARF_GNAT_ENCODINGS_DEFAULT #define DWARF_GNAT_ENCODINGS_DEFAULT \