diff options
| author | Tristan Gingold <tgingold@free.fr> | 2019-10-02 04:33:16 +0200 | 
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2019-10-02 04:33:16 +0200 | 
| commit | 8cd28ef3318a735820aeac438e21f66bc3784694 (patch) | |
| tree | 908c9a2c3755c661ac15ff94f726f61475c1c2e7 | |
| parent | 79bd57b88d5d1279f8eb31376224c289ab351f0f (diff) | |
| download | ghdl-8cd28ef3318a735820aeac438e21f66bc3784694.tar.gz ghdl-8cd28ef3318a735820aeac438e21f66bc3784694.tar.bz2 ghdl-8cd28ef3318a735820aeac438e21f66bc3784694.zip | |
ghdlsynth: display bugbox in case of unknown exception.
| -rw-r--r-- | src/ghdldrv/ghdlsynth.adb | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb index a260b2cd7..27af66d97 100644 --- a/src/ghdldrv/ghdlsynth.adb +++ b/src/ghdldrv/ghdlsynth.adb @@ -27,6 +27,7 @@ with Errorout;  with Errorout.Console;  with Version;  with Default_Paths; +with Bug;  with Libraries;  with Flags; @@ -244,8 +245,9 @@ package body Ghdlsynth is     exception        when Option_Error =>           return No_Module; -      when others => +      when E: others =>           --  Avoid possible issues with exceptions... +         Bug.Disp_Bug_Box (E);           return No_Module;     end Ghdl_Synth; | 
