This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gdb input error gfortrani_fbuf_read () cyggfortran-3.dll
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin at cygwin dot com
- Cc: "Rockefeller, Harry" <Harry dot Rockefeller at flightsafety dot com>
- Date: Mon, 26 Sep 2016 14:41:00 +0100
- Subject: Re: gdb input error gfortrani_fbuf_read () cyggfortran-3.dll
- Authentication-results: sourceware.org; auth=none
- References: <0ff238ef03c04fe38f48139793e77e57@vsrv060ex03.ssd.fsi.com>
On 22/09/2016 20:55, Rockefeller, Harry wrote:
gdb (test version) and program's 'read' seem to have an input clash.
Anyway, gdb used to pause and allow keyboard input.
Thanks for reporting this problem, and the test case.
Thread 1 "foo" hit Breakpoint 1, foo () at foo.f:4
4 write(*,*) "Enter a real number"
(gdb) n
Enter a real number
5 read(*,*) e
(gdb) n
[1]+ Stopped gdb foo
$ fg
gdb foo
Thread 1 "foo" received signal SIGTTIN, Stopped (tty input).
0x5bd015dc in gfortrani_fbuf_read () from /usr/bin/cyggfortran-3.dll
In gdb 7.11 there are some upstream changes in the way access to the
controlling terminal is given the inferior, and I guess this has broken
something here.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple