From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24179 invoked by alias); 21 Aug 2007 22:55:59 -0000 Received: (qmail 23873 invoked by uid 22791); 21 Aug 2007 22:55:58 -0000 X-Spam-Check-By: sourceware.org Received: from pool-96-233-71-216.bstnma.fios.verizon.net (HELO ednor.cgf.cx) (96.233.71.216) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Aug 2007 22:55:56 +0000 Received: by ednor.cgf.cx (Postfix, from userid 201) id F15A72B352; Tue, 21 Aug 2007 18:55:22 -0400 (EDT) Date: Tue, 21 Aug 2007 22:55:00 -0000 From: Christopher Faylor To: Roland.Puntaier@br-automation.com, gdb@sourceware.org Subject: Re: gdb-6.6 mingw port hangs after Ctrl-C Message-ID: <20070821225522.GA31121@ednor.casa.cgf.cx> Mail-Followup-To: Roland.Puntaier@br-automation.com, gdb@sourceware.org References: <20070820162439.GA30242@caradoc.them.org> <20070820193128.GA17272@caradoc.them.org> <20070821025607.GA14389@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00157.txt.bz2 On Tue, Aug 21, 2007 at 10:41:57AM -0700, Jim Blandy wrote: >The issue at hand here is that we need C-c to interrupt the main >thread as it reads from the remote host. That could be a pipe, a >socket, or a serial port. > >Do you know how one can safely interrupt each of these kinds of reads >in Windows? You'd need to use overlapped I/O for those situations. If you do that then you'd have to decide whether you want gdb to work on Windows 9x/Me or not. As you may recall this is the reason why I don't want to become to actively involved in supporting MinGW. I already solved these problems once in Cygwin. I don't want to solve the problem again in gdb. cgf