Mail Archives: cygwin/1999/03/17/15:03:16
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 -