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=RqWE7LfNkhvK//c1 liTq3a06U9rSchfWHOzjYkFJT57vi3/zNKmcDQRzW1Uwe1U6PxbYcVo8tFX/lGyX qWwMgTilKr2iI/rdYEj3gpU9UR0onILioWvnTRmtt814AncJ7A28XeKMRxBQswW8 UAVaRf8nIEGLs/AMxDBdx1AcQjY= 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=aRdUxr5RAPWtN8rLDn0MLb utQ6A=; b=rTyM9TNKjSPTdnbEKpimwudpl9E52C6MBC9lh1+i3ggMr+fz7Q1k8r RIYr97fIITeJaGGI2bMZJ//x0AXloo9SSgLy0sKsIqaBC71TT2H7uXKWWS8nKmIE mPoEQrh5NhdjzlzANxjT7T5h955wzCnWlsh5CrhwCO3vLHBF/U/Wc= 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-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_50,FORGED_SPF_HELO,KHOP_HELO_FCRDNS,SPF_HELO_PASS autolearn=no version=3.3.1 spammy=excel, UD:x86_64, Excel, Rockefeller X-HELO: re-prd-fep-049.btinternet.com Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com X-OWM-Source-IP: 31.51.207.12 (GB) X-OWM-Env-Sender: jonturney AT btinternet DOT com X-VadeSecure-score: verdict=clean score=0/300, class=clean Subject: Re: cin and read(*,*) not waiting for kbd input in gdb To: The Cygwin Mailing List References: <552d8b06cb6e431fb00f581c7853b795 AT vsrv060ex01 DOT ssd DOT fsi DOT com> <78b75f32051c4c83a43b0adc2c65dbb5 AT vsrv060ex01 DOT ssd DOT fsi DOT com> <691b0f69130c46ad90ea6ddf93d3b1be AT vsrv060ex01 DOT ssd DOT fsi DOT com> Cc: "Rockefeller, Harry" From: Jon Turney Message-ID: Date: Tue, 28 Jan 2020 13:27:48 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 27/01/2020 16:44, Rockefeller, Harry wrote: > I don't know if this is a gdb or a Cygwin implementation of gdb that is a problem. > Since I can go back to gdb version 8.1.1-1 this is not a problem for me now. > Here is a test case using the Fortran source above: > > $ gfortran -g test1.f -o test1.exe > > harryr AT HARRYR-PC ~/d62sim/Excel > $ gdb test1 > GNU gdb (GDB) (Cygwin 8.3.1-1) 8.3.1 [...] > (gdb) > 277 fflush (stdin); > (gdb) > /wip/cygport-git/gdb/gdb-8.3.1-1.x86_64/src/gdb-8.3.1/gdb/infrun.c:2602: internal-error: void resume_1(gdb_signal): Assertion `pc_in_thread_step_range (pc, tp)' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n)y Thanks for reporting this problem, and the reproduction steps. I can reproduce this, but this doesn't seem to be a regression as I can also reproduce it with 8.1.1-1 (and with 7.9.1-1). On a brief investigation this seems to be related to trying to step through an import stub. -- 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