delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/27/11:15:11

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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> <af5cbdfb-21ab-8450-f089-0d1af5c26ea1 AT dronecode DOT org DOT uk>
Cc: "Rockefeller, Harry" <Harry DOT Rockefeller AT flightsafety DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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: <af5cbdfb-21ab-8450-f089-0d1af5c26ea1@dronecode.org.uk>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019