public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4110] [Ada] Emit debugging information for TSD object
@ 2021-10-04  8:47 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-10-04  8:47 UTC (permalink / raw)
  To: gcc-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-04  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04  8:47 [gcc r12-4110] [Ada] Emit debugging information for TSD object Pierre-Marie de Rodat

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).