public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4110] [Ada] Emit debugging information for TSD object Date: Mon, 4 Oct 2021 08:47:23 +0000 (GMT) [thread overview] Message-ID: <20211004084723.A94AE3858436@sourceware.org> (raw) https://gcc.gnu.org/g:602176ae83ad265a1dfa061c8b85e24376c22028 commit r12-4110-g602176ae83ad265a1dfa061c8b85e24376c22028 Author: Eric Botcazou <ebotcazou@adacore.com> Date: Mon Aug 23 18:16:05 2021 +0200 [Ada] Emit debugging information for TSD object gcc/ada/ * exp_disp.adb (Make_DT): Copy the Needs_Debug_Info flag from the type onto the TSD object. Diff: --- gcc/ada/exp_disp.adb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/ada/exp_disp.adb b/gcc/ada/exp_disp.adb index 72f4e7c90b7..6ade54be177 100644 --- a/gcc/ada/exp_disp.adb +++ b/gcc/ada/exp_disp.adb @@ -5703,6 +5703,11 @@ package body Exp_Disp is Set_Is_True_Constant (TSD, Building_Static_DT (Typ)); + -- The debugging information for type Ada.Tags.Type_Specific_Data is + -- needed by the debugger in order to display values of tagged types. + + Set_Needs_Debug_Info (TSD, Needs_Debug_Info (Typ)); + -- Initialize or declare the dispatch table object if not Has_DT (Typ) then
reply other threads:[~2021-10-04 8:47 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=20211004084723.A94AE3858436@sourceware.org \ --to=pmderodat@gcc.gnu.org \ --cc=gcc-cvs@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: linkBe 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).