aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/debug/ortho_debug-disp.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-07 06:29:39 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-07 06:31:58 +0200
commit2886f0582984bc4948f716d82762c50fc3302064 (patch)
treebde3fe6f5d0a6b7165886d10e642113d72bee30f /src/ortho/debug/ortho_debug-disp.adb
parent2804d2726adbb6cca68731526a0df54ebd767beb (diff)
downloadghdl-2886f0582984bc4948f716d82762c50fc3302064.tar.gz
ghdl-2886f0582984bc4948f716d82762c50fc3302064.tar.bz2
ghdl-2886f0582984bc4948f716d82762c50fc3302064.zip
ortho/debug: handle aggregates of record-subtype
Diffstat (limited to 'src/ortho/debug/ortho_debug-disp.adb')
-rw-r--r--src/ortho/debug/ortho_debug-disp.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ortho/debug/ortho_debug-disp.adb b/src/ortho/debug/ortho_debug-disp.adb
index 29d07fae4..0baf97f21 100644
--- a/src/ortho/debug/ortho_debug-disp.adb
+++ b/src/ortho/debug/ortho_debug-disp.adb
@@ -617,8 +617,7 @@ package body Ortho_Debug.Disp is
begin
Put ('{');
El := C.Rec_Els;
- pragma Assert (C.Ctype.Kind = ON_Record_Type);
- Field := C.Ctype.Rec_Elements;
+ Field := Get_Record_Elements (C.Ctype);
if El /= null then
loop
Set_Mark;