aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-lib.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-08-29 07:57:12 +0200
committerTristan Gingold <tgingold@free.fr>2015-08-29 07:57:12 +0200
commitb75d703676ab830ea3e5731e1965d1d89879a456 (patch)
tree1a0a21ba1cce6385715bd2823853ee4ad47905ee /src/grt/grt-lib.adb
parent64fa65e1395bef4f05c51bc19d9a46d6003339ee (diff)
downloadghdl-b75d703676ab830ea3e5731e1965d1d89879a456.tar.gz
ghdl-b75d703676ab830ea3e5731e1965d1d89879a456.tar.bz2
ghdl-b75d703676ab830ea3e5731e1965d1d89879a456.zip
Replace fat accesses by bounds accesses
translate: separate info for signals from object. Improve some error messages.
Diffstat (limited to 'src/grt/grt-lib.adb')
-rw-r--r--src/grt/grt-lib.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/grt/grt-lib.adb b/src/grt/grt-lib.adb
index b4505adb6..d2b095c67 100644
--- a/src/grt/grt-lib.adb
+++ b/src/grt/grt-lib.adb
@@ -272,25 +272,25 @@ package body Grt.Lib is
end Ghdl_Get_Resolution_Limit;
procedure Ghdl_Control_Simulation
- (Params : Ghdl_Control_Simulation_Params_Ptr) is
+ (Stop : Ghdl_B1; Has_Status : Ghdl_B1; Status : Std_Integer) is
begin
Report_H;
-- Report_C (Grt.Options.Progname);
Report_C ("simulation ");
- if Params.Stop then
+ if Stop then
Report_C ("stopped");
else
Report_C ("finished");
end if;
Report_C (" @");
Report_Now_C;
- if Params.Has_Status then
+ if Has_Status then
Report_C (" with status ");
- Report_C (Integer (Params.Status));
+ Report_C (Integer (Status));
end if;
Report_E ("");
- if Params.Has_Status then
- Exit_Status := Integer (Params.Status);
+ if Has_Status then
+ Exit_Status := Integer (Status);
end if;
Exit_Simulation;
end Ghdl_Control_Simulation;