From 3826656eaff634b0349b610f274203b3026d3f87 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 21 May 2015 07:00:35 +0200 Subject: Rework exit handling to correctly report exit status. Fix ticket 77. --- src/grt/grt-processes.ads | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/grt/grt-processes.ads') diff --git a/src/grt/grt-processes.ads b/src/grt/grt-processes.ads index 534a129ad..2d953ecf1 100644 --- a/src/grt/grt-processes.ads +++ b/src/grt/grt-processes.ads @@ -38,7 +38,9 @@ package Grt.Processes is procedure Init; -- Do the VHDL simulation. - -- Return 0 in case of success (end of time reached). + -- Return simulation status: + -- >= 0 in case of success (end of time reached). + -- < 0 in case of failure or stop request. function Simulation return Integer; -- Number of delta cycles. -- cgit v1.2.3