delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/26/09:41:31

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:references:cc:to:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=D+Uvxprya6CYhvdw
/LLGTzQk7Hf+G9t3i009griqLmm9p0JZwLYm5VITGxok+lQmx3BhOZNGP6DY2ykl
mYvwuGZN4PL20WlBoD4/R2FhXOMKeZt8aRZL4ulDWH03vxyTnO0VMfialSYNhWjA
FIVhPv7CyLYJP9xSjeingP9Vh6Q=
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:references:cc:to:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=HGdNWQ+Qtjy9Vh6ueDDlX7
KOIa0=; b=S0WNK2/I0XWGeIl1SBqyZ6tvKoubjM6WhLFldt6qKQEBldorOvGyEs
BD18U2+7uz41jUU9AnbIyplqhBfWHYBBJNAjvBZVTYp80HDlu/v+6tJWWTdfdDG6
nj1YpN7I55NDFJoCyZEAN96ChxKtbcWTVzGzcOUFiDrHFPe5phmE8=
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.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
Subject: Re: gdb input error gfortrani_fbuf_read () cyggfortran-3.dll
References: <0ff238ef03c04fe38f48139793e77e57 AT vsrv060ex03 DOT ssd DOT fsi DOT com>
Cc: "Rockefeller, Harry" <Harry DOT Rockefeller AT flightsafety DOT com>
To: cygwin AT cygwin DOT com
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <af5cbdfb-21ab-8450-f089-0d1af5c26ea1@dronecode.org.uk>
Date: Mon, 26 Sep 2016 14:41:00 +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: <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

- Raw text -


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