aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlsimul.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlsimul.adb')
-rw-r--r--src/ghdldrv/ghdlsimul.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb
index 89d9f271c..ff64fcf17 100644
--- a/src/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
@@ -180,7 +180,7 @@ package body Ghdlsimul is
function Decode_Option (Option : String) return Boolean
is
begin
- if Option = "--debug" then
+ if Option = "--debug" or Option = "-g" then
Simulation.Flag_Debugger := True;
else
return False;