From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38099 invoked by alias); 1 Jun 2016 14:29:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 37604 invoked by uid 89); 1 Jun 2016 14:29:10 -0000 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 Received: from ipbcc0227e.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.34.126) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 01 Jun 2016 14:29:01 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id D366BA807CC; Wed, 1 Jun 2016 16:28:58 +0200 (CEST) Date: Wed, 01 Jun 2016 14:29:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.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@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <466943424.37628.394d161a-7219-415d-a659-0f774811ad2d.open-xchange@email.1und1.de> <44459aa0-4381-2368-ab63-5dffc26f3344@cornell.edu> <20160531094115.GE24015@calimero.vinschen.de> <34c9cf10-4930-a017-92fc-fd56171671b1@cornell.edu> <9403d1d8-21d1-bf7e-dddc-d77b42e4795d@cornell.edu> <20160601142804.GG11431@calimero.vinschen.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) X-SW-Source: 2016-06/txt/msg00006.txt.bz2 --bGR76rFJjkSxVeRa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1204 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" Content-length: 819 -----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--