aboutsummaryrefslogtreecommitdiffstats
path: root/translate/ghdldrv/ghdldrv.adb
diff options
context:
space:
mode:
Diffstat (limited to 'translate/ghdldrv/ghdldrv.adb')
-rw-r--r--translate/ghdldrv/ghdldrv.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/translate/ghdldrv/ghdldrv.adb b/translate/ghdldrv/ghdldrv.adb
index 72500ef76..50fd6d71a 100644
--- a/translate/ghdldrv/ghdldrv.adb
+++ b/translate/ghdldrv/ghdldrv.adb
@@ -113,6 +113,9 @@ package body Ghdldrv is
elsif Status = 1 then
Error ("compilation error");
raise Compile_Error;
+ elsif Status > 127 then
+ Error ("executable killed by a signal");
+ raise Exec_Error;
else
Error ("exec error");
raise Exec_Error;