From 01b133bc895d91e096ae054b5d02c1e6e54ec2e1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 20 Nov 2019 07:40:25 +0100 Subject: synth: infrastructure for debugger. --- src/synth/synth-debugger.adb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/synth/synth-debugger.adb (limited to 'src/synth/synth-debugger.adb') 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; -- cgit v1.2.3