From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87102 invoked by alias); 26 Sep 2016 13:41:15 -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 87050 invoked by uid 89); 26 Sep 2016 13:41:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=7.11, H*F:D*org.uk, Hx-languages-length:776, 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; Mon, 26 Sep 2016 13:41:04 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5999C2069C; Mon, 26 Sep 2016 09:41:02 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 26 Sep 2016 09:41:02 -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 DB36CCCE92; Mon, 26 Sep 2016 09:41:01 -0400 (EDT) Subject: Re: gdb input error gfortrani_fbuf_read () cyggfortran-3.dll References: <0ff238ef03c04fe38f48139793e77e57@vsrv060ex03.ssd.fsi.com> Cc: "Rockefeller, Harry" To: cygwin@cygwin.com From: Jon Turney Message-ID: Date: Mon, 26 Sep 2016 15:08: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: <0ff238ef03c04fe38f48139793e77e57@vsrv060ex03.ssd.fsi.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-09/txt/msg00333.txt.bz2 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