From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78616 invoked by alias); 27 Sep 2016 15:14:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 78529 invoked by uid 89); 27 Sep 2016 15:14:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=harry, Hx-spam-relays-external:ESMTPA, Harry X-HELO: out2-smtp.messagingengine.com Received: from out2-smtp.messagingengine.com (HELO out2-smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Sep 2016 15:14:28 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6286320567; Tue, 27 Sep 2016 11:14:27 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 27 Sep 2016 11:14:27 -0400 Received: from [192.168.1.102] (host86-166-190-68.range86-166.btcentralplus.com [86.166.190.68]) by mail.messagingengine.com (Postfix) with ESMTPA id EF631CC080; Tue, 27 Sep 2016 11:14:26 -0400 (EDT) Subject: Re: gdb input error gfortrani_fbuf_read () cyggfortran-3.dll To: cygwin@cygwin.com References: <0ff238ef03c04fe38f48139793e77e57@vsrv060ex03.ssd.fsi.com> Cc: "Rockefeller, Harry" From: Jon Turney Message-ID: <8bb12fde-de72-2524-ee5c-1cf8f9b99ece@dronecode.org.uk> Date: Tue, 27 Sep 2016 15:14:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-09/txt/msg00354.txt.bz2 On 26/09/2016 14:41, Jon Turney wrote: > 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. I uploaded a gdb 7.11.1-2 test package with a fix for this. -- 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