aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlsimul.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-01-24 05:14:35 +0100
committerTristan Gingold <tgingold@free.fr>2016-01-24 05:14:35 +0100
commitc03fc9f45df59e35ba9fba8bcf9e933fbb1074b9 (patch)
tree67f83680a6544012cc5755068f43a1089d0d8d53 /src/ghdldrv/ghdlsimul.adb
parenta4de40e69bbc961554e432f08fc146e07091c3f7 (diff)
downloadghdl-c03fc9f45df59e35ba9fba8bcf9e933fbb1074b9.tar.gz
ghdl-c03fc9f45df59e35ba9fba8bcf9e933fbb1074b9.tar.bz2
ghdl-c03fc9f45df59e35ba9fba8bcf9e933fbb1074b9.zip
simul: fix various issues.
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;