aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-debugger.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-20 07:40:25 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-20 18:29:51 +0100
commit01b133bc895d91e096ae054b5d02c1e6e54ec2e1 (patch)
tree8a0e14727a459a4be4b6e1581446af8a12f0f0a3 /src/synth/synth-debugger.adb
parent65abd669b8cdeff955a5c4264c99a97110cd8a93 (diff)
downloadghdl-01b133bc895d91e096ae054b5d02c1e6e54ec2e1.tar.gz
ghdl-01b133bc895d91e096ae054b5d02c1e6e54ec2e1.tar.bz2
ghdl-01b133bc895d91e096ae054b5d02c1e6e54ec2e1.zip
synth: infrastructure for debugger.
Diffstat (limited to 'src/synth/synth-debugger.adb')
-rw-r--r--src/synth/synth-debugger.adb33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/synth/synth-debugger.adb b/src/synth/synth-debugger.adb
new file mode 100644
index 000000000..cd1b16c70
--- /dev/null
+++ b/src/synth/synth-debugger.adb
@@ -0,0 +1,33 @@
+-- Debugging during synthesis (not enabled).
+-- Copyright (C) 2019 Tristan Gingold
+--
+-- This file is part of GHDL.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+-- MA 02110-1301, USA.
+
+with Types; use Types;
+
+package body Synth.Debugger is
+ procedure Debug_Init is
+ begin
+ null;
+ end Debug_Init;
+
+ procedure Debug_Break (Inst : Synth_Instance_Acc; Stmt : Node) is
+ begin
+ raise Internal_Error;
+ end Debug_Break;
+end Synth.Debugger;