X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=dUBnkGJVsVXDSeTV zW7jTWXMlVUYh/G4t/n+mX2tQ4E/gAnB8YkkgIE3p8JZwOvinwDT38URJrSUU1DS wXEq7HeDuln03zNeSs2+F/sp5zxkS+WSeiPVziA6Kxzio3Nuzh+P46BMh0CCMClL YUAT68FlzHG7Al6OF08M0LK4KT8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=DH3lFFsHo5TpjJs3un0H9l cciKA=; b=xOIzLSibZ47F9oq6qd1mKE5cEDWQJl1pxa9QwLl1dAAk9inUyXRdOy tS8DhmHgeE8Vi1jeGjcasSb4fMonGQL0M5LJR/YzDiuOonKproF1Fj8H0Dab2LUL c9qTLBpNYDi8JvBB1ekUUyD1Jp/LDAtoEhMls4prBm+Tmfl2EjeY8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Subject: Re: gdb input error gfortrani_fbuf_read () cyggfortran-3.dll To: cygwin AT cygwin DOT com References: <0ff238ef03c04fe38f48139793e77e57 AT vsrv060ex03 DOT ssd DOT fsi DOT com> Cc: "Rockefeller, Harry" From: Jon Turney Message-ID: <8bb12fde-de72-2524-ee5c-1cf8f9b99ece@dronecode.org.uk> Date: Tue, 27 Sep 2016 16:14:26 +0100 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 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