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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=hdXUuePPU1AEcsKJelQxHHniGyg/Xz1epywvfRsoCkkDpA8KRDdjT 7lxqekvvLghMKu420cDXlF/lq4faoQriqoJrgnNk36YlMcUim1v66CPg0i/ZkhOX a0NQ4CelBJjwK1HM0SqX5Q89w4MXCTUpjfM7c5AwmsPR5H5wRGkJoc= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=c5s+PE7QuaehcBYJfyHMgeL0Clg=; b=ZDVnvguA2yy8Ey1YacBySk0v1Mn0 5O+OQc8cgc8PtJ9ks/KXoOhxAA9mudy1JQk6IsMVMzitvfWcCdWf7hs+rqrV0dVM uxLm2pF9YQe8td7BnEz1GUJ0DRYh45zdFyH0CW7bYHvSBjsM6Php2wyt6OgIiGia XgxxN59Dtqt2mdk= 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=-96.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=Hx-languages-length:1246, H*MI:sk:2016060 X-HELO: calimero.vinschen.de Date: Wed, 1 Jun 2016 16:28:58 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: gdb pty problem [Was: emacs gud-interface is not updated after gdb command execution (maybe because of incomplete output from gdb)] Message-ID: <20160601142858.GH11431@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <466943424 DOT 37628 DOT 394d161a-7219-415d-a659-0f774811ad2d DOT open-xchange AT email DOT 1und1 DOT de> <44459aa0-4381-2368-ab63-5dffc26f3344 AT cornell DOT edu> <20160531094115 DOT GE24015 AT calimero DOT vinschen DOT de> <34c9cf10-4930-a017-92fc-fd56171671b1 AT cornell DOT edu> <9403d1d8-21d1-bf7e-dddc-d77b42e4795d AT cornell DOT edu> <20160601142804 DOT GG11431 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bGR76rFJjkSxVeRa" Content-Disposition: inline In-Reply-To: <20160601142804.GG11431@calimero.vinschen.de> User-Agent: Mutt/1.6.1 (2016-04-27) --bGR76rFJjkSxVeRa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 1 16:28, Corinna Vinschen wrote: > Hi Ken, >=20 > On Jun 1 09:02, Ken Brown wrote: > > On 6/1/2016 8:51 AM, Ken Brown wrote: > > > On 5/31/2016 5:41 AM, Corinna Vinschen wrote: > > > > Any chance you could bisect Cygwin to help finding the culprit? > > >=20 > > > The culprit is > > >=20 > > > commit 252a07b0ad3353abcd0fcd9b1b65ff977acd679e > > > Author: Takashi Yano > > > Date: Fri Apr 3 13:07:35 2015 +0900 > > >=20 > > > Cygwin hangs up if several keys are typed during outputting a lot = of > > > texts. > > >=20 > > > * fhandler_tty.cc (fhandler_pty_slave::read): Change calculati= on of > > > "readlen" not to use "bytes_in_pipe" value directly. > > >=20 > > >=20 > > > Reverting that commit fixes the problem. > >=20 > > Unfortunately, all kinds of other things break. For example, emacs exi= ts > > immediately, ls produces no output,.... >=20 > Are you sure? I just tried it myself and ls as well as emacs work > fine for me. ... and, of course, your gdb stc works fine, too. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --bGR76rFJjkSxVeRa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXTvEqAAoJEPU2Bp2uRE+gojUP/37e0bza1G0+t0dU86IaIOdw lmAFdqEIjB3RwxZA1azg6bWTmLybwyzuRDkaiiakRRa3tQTpTfsnN8Am0hLkcxxD StUNXoV3FJbTtC+qsP6QtxBM5/GbBTPOmmkGr2uP9aix3EvF6lGrPYZJWcLamD8i QJcxCT5evlG2AbyrmyER0Sm31jhv7C70A+eIrDzl48SsMQsh8nw4za0DOYVfgEBE yHMVh0PU3GOkP5zk8AHBf8GkaccqWNt4/5RmelwWPOZTiKBqM4zw/IE4+dIEmx1q SGMUoJkL5qdkViZHXaeEKTr78QZkhe6/vjMvRJ0TdbOE3u3/qcl6P1uZVyro5W2g 8DRlBYoIcVR7xQDGKkVIaapcJ33CcGROtwciLd7OS22/9RZwuvppjNbep0KQd/Lb e668/hAT/nvfzVYmjBuu5K74iaLjVqMbh2mT/mqZrSrSVu3312jxURMC3bhtfGgB FdwbV5vb+cqOWwqLhgEVFDqx6eFS6ktlG0+OxmL0zPdc/utGKojNCnRmhmLbHuGo eSgqHkHTuJ2CvEPj7C1lYHNsuJNsMHtMwMUbR8w5ibRX5gqHo7ttV4B0bT006v4w wEmWS7VJEF9BwbPkCWzFHFBD2W7C1Oeycdof63S0LXGCoIMUrPwZRMaaAlQ4ukCJ DjAqfiShJhHRZ8QZBCph =2SD+ -----END PGP SIGNATURE----- --bGR76rFJjkSxVeRa--