From: Olivier Hainque <hainque@adacore.com>
To: gcc-patches <gcc-patches@gcc.gnu.org>
Cc: Olivier Hainque <hainque@adacore.com>
Subject: [patch] Downgrade DWARF_VERSION_DEFAULT to 3 for VxWorks >= 7
Date: Fri, 7 Oct 2022 08:57:10 +0200 [thread overview]
Message-ID: <3F2FC496-16FF-45ED-A913-CD8CC7A1680B@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
Hello,
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.
Committing to mainline shortly.
Cheers,
Olivier
2022-03-06 Olivier Hainque <hainque@adacore.com>
gcc/
* config/vxworks.h (DWARF_VERSION_DEFAULT): Adjust from
4 to 3 for VxWorks >= 7.
[-- Attachment #2: 0013-Downgrade-DWARF_VERSION_DEFAULT-to-3-for-VxWorks-7.patch --]
[-- Type: application/octet-stream, Size: 1165 bytes --]
From 47ce0f1883c6bfe003b83d7c1bc2d57b0dedcfc2 Mon Sep 17 00:00:00 2001
From: Olivier Hainque <hainque@adacore.com>
Date: Thu, 3 Mar 2022 16:58:51 +0000
Subject: [PATCH 13/18] 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 <hainque@adacore.com>
gcc/
* config/vxworks.h (DWARF_VERSION_DEFAULT): Adjust from
4 to 3 for VxWorks >= 7.
---
gcc/config/vxworks.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h
index 1ad927e8aba..13c616829c4 100644
--- a/gcc/config/vxworks.h
+++ b/gcc/config/vxworks.h
@@ -410,7 +410,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 \
--
2.25.1
reply other threads:[~2022-10-07 6:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F2FC496-16FF-45ED-A913-CD8CC7A1680B@adacore.com \
--to=hainque@adacore.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).