From f982dbc83995943fe74ac0efaa76a0babdab398c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 26 Jul 2020 16:38:52 +0200 Subject: synth: add -g option to enable debugger on some errors. --- src/ghdldrv/ghdlsynth.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ghdldrv') diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb index 0789e5a56..8c00776e0 100644 --- a/src/ghdldrv/ghdlsynth.adb +++ b/src/ghdldrv/ghdlsynth.adb @@ -198,6 +198,8 @@ package body Ghdlsynth is Flag_Trace_Statements := True; elsif Option = "-i" then Flag_Debug_Init := True; + elsif Option = "-g" then + Flag_Debug_Enable := True; elsif Option = "-v" then if not Synth.Flags.Flag_Verbose then Synth.Flags.Flag_Verbose := True; -- cgit v1.2.3