This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Help with GBDTK and IO
- To: cygwin@sourceware.cygnus.com
- Subject: Help with GBDTK and IO
- From: James Krause <KrauseJ@jsc.mil>
- Date: Wed, 17 Mar 1999 15:05:29 -0500
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
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@sourceware.cygnus.com