delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/17/15:03:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <s6efc32a.007@jsc.mil>
X-Mailer: Novell GroupWise 4.1
Date: Wed, 17 Mar 1999 15:05:29 -0500
From: James Krause <KrauseJ AT jsc DOT mil>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Help with GBDTK and IO
Mime-Version: 1.0

I'm trying to debug just a simple Ada program;

with text_io;
procedure TEST is
  A_String : String(1..132);
  A_Length : Natural;
begin
  Text_Io.Put_Line ("What is your name? ");
  Text_Io.Get_Line(A_String, A_Length);
  Text_Io.Put_Line ("Well Hello " & A_String(1..A_Length));
end;


But when I run it with the GDBTK it always gets the error
"Program exited with code 01." when trying to execute the
get_line statement.  It runs fine using "gdb -nw".
Does anyone know why this is happening?
Is there some env variable I need to setup?

By the way I'm using the gdb and gdbtk versions that came with
GNAT.3.11p, on an NT4.0 machine.

Thanks in advanced

Jim Krause

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019