aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-15 05:23:58 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-15 05:23:58 +0200
commit511075ef4fee902e256551cb31b913de569016f3 (patch)
treec6dade191fb4bbbd3371090854cb784334ae2fc7 /src/synth
parent54503976a4e2241fea70c4d37d12fd85f06eaf59 (diff)
downloadghdl-511075ef4fee902e256551cb31b913de569016f3.tar.gz
ghdl-511075ef4fee902e256551cb31b913de569016f3.tar.bz2
ghdl-511075ef4fee902e256551cb31b913de569016f3.zip
grt: simplifies grt-readline, adjust casing
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/elab-debugger__on.adb10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/synth/elab-debugger__on.adb b/src/synth/elab-debugger__on.adb
index 004ec8423..2b4831215 100644
--- a/src/synth/elab-debugger__on.adb
+++ b/src/synth/elab-debugger__on.adb
@@ -16,8 +16,6 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <gnu.org/licenses>.
-with System;
-
with Types; use Types;
with Files_Map;
with Tables;
@@ -764,15 +762,15 @@ package body Elab.Debugger is
is
use Grt.Readline;
Raw_Line : Ghdl_C_String;
- Prompt : System.Address;
+ Prompt : Ghdl_C_String;
begin
- Prompt := Prompt_Debug'Address;
+ Prompt := To_Ghdl_C_String (Prompt_Debug'Address);
case Reason is
when Reason_Init =>
- Prompt := Prompt_Init'Address;
+ Prompt := To_Ghdl_C_String (Prompt_Init'Address);
when Reason_Error =>
- Prompt := Prompt_Error'Address;
+ Prompt := To_Ghdl_C_String (Prompt_Error'Address);
when Reason_Break =>
case Exec_State is
when Exec_Run =>