aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/mcode/ortho_code-decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-01-12 19:01:59 +0100
committerTristan Gingold <tgingold@free.fr>2015-01-12 19:01:59 +0100
commit9e5342c2299a14c39d04974d6a7a098fd01173fe (patch)
tree5b9f0c0b81a33740305c15efd949e32441f80e2d /src/ortho/mcode/ortho_code-decls.adb
parent552d366f8ca84768a729d7295c4e5e5177a0a3cd (diff)
downloadghdl-9e5342c2299a14c39d04974d6a7a098fd01173fe.tar.gz
ghdl-9e5342c2299a14c39d04974d6a7a098fd01173fe.tar.bz2
ghdl-9e5342c2299a14c39d04974d6a7a098fd01173fe.zip
grt: improve --disp-signals-table output.
Diffstat (limited to 'src/ortho/mcode/ortho_code-decls.adb')
-rw-r--r--src/ortho/mcode/ortho_code-decls.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_code-decls.adb b/src/ortho/mcode/ortho_code-decls.adb
index fcbf0b0de..2557204fe 100644
--- a/src/ortho/mcode/ortho_code-decls.adb
+++ b/src/ortho/mcode/ortho_code-decls.adb
@@ -22,6 +22,7 @@ with Ortho_Code.Debug; use Ortho_Code.Debug;
with Ortho_Code.Exprs;
with Ortho_Code.Abi; use Ortho_Code.Abi;
with Ortho_Code.Flags;
+with Ortho_Code.Types;
package body Ortho_Code.Decls is
-- Common fields:
@@ -659,6 +660,8 @@ package body Ortho_Code.Decls is
Disp_Decl_Name (Decl);
Put (": ");
Put (Int32 (Get_Decl_Type (Decl)), 0);
+ Put (", ");
+ Disp_Mode (Types.Get_Type_Mode (Get_Decl_Type (Decl)));
Put (", offset=");
Put (Get_Inter_Offset (Decl), 0);
when OD_Const =>