From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#9767: 24.0.90; gdb initialization on Cygwin Date: Sat, 22 Oct 2011 16:58:16 -0400 Message-ID: <4EA32E68.2030803@cornell.edu> References: <4E9B0033.2070506@cornell.edu> <4E9B63F0.5040409@cornell.edu> <4E9F2C49.4060307@cornell.edu> <83ipnku3rb.fsf@gnu.org> <4E9F365A.9060207@cornell.edu> <83fwiotzbq.fsf@gnu.org> <4E9F836A.5070505@cornell.edu> <4EA1DA78.5060404@cornell.edu> <83k47yq9da.fsf@gnu.org> <4EA2920D.9090809@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319317130 20885 80.91.229.12 (22 Oct 2011 20:58:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 Oct 2011 20:58:50 +0000 (UTC) Cc: schwab@linux-m68k.org, 9767@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 22 22:58:44 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RHieR-0002TW-Qh for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2011 22:58:43 +0200 Original-Received: from localhost ([::1]:43386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHieR-0007qY-CN for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2011 16:58:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHieP-0007qT-FQ for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2011 16:58:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHieO-0004kv-M8 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2011 16:58:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHieO-0004kr-Iw for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2011 16:58:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RHifh-00005n-JF for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2011 17:00:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Oct 2011 21:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9767-submit@debbugs.gnu.org id=B9767.1319317189317 (code B ref 9767); Sat, 22 Oct 2011 21:00:01 +0000 Original-Received: (at 9767) by debbugs.gnu.org; 22 Oct 2011 20:59:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHifU-000054-Ax for submit@debbugs.gnu.org; Sat, 22 Oct 2011 16:59:48 -0400 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141] helo=authusersmtp.mail.cornell.edu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RHifQ-00004v-Gf for 9767@debbugs.gnu.org; Sat, 22 Oct 2011 16:59:46 -0400 Original-Received: from [192.168.1.3] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id p9MKwKQ6017711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 22 Oct 2011 16:58:21 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <4EA2920D.9090809@cornell.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 22 Oct 2011 17:00:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53031 Archived-At: For the third (and final?) time, I think I've figured out the problem. It has nothing to do with emacs or select, but is simply a problem with Cygwin's gdb. When the current Cygwin gdb is given too many input lines before having its output read, it sometimes stops producing output and waits for the user to press Return. This is what was happening during the initialization of M-x gdb, and that explains why I could work around the problem by inserting (sleep-for .1) before the initialization was finished. I've found a way to reliably reproduce this, and I've reported it to the Cygwin list. I'm not closing this bug report yet because I want to wait and see how the Cygwin problem is resolved. It may still be necessary to use some kind of workaround. Thanks to all who tried to help and who put up with my mistakes and misunderstandings. Ken