From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25882 invoked by alias); 21 Aug 2007 19:09:06 -0000 Received: (qmail 25846 invoked by uid 22791); 21 Aug 2007 19:09:05 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Aug 2007 19:09:02 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-241-15.inter.net.il [84.228.241.15]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DKR37663 (AUTH halo1); Tue, 21 Aug 2007 22:08:57 +0300 (IDT) Date: Tue, 21 Aug 2007 19:09:00 -0000 Message-Id: From: Eli Zaretskii To: Jim Blandy CC: Roland.Puntaier@br-automation.com, gdb@sourceware.org In-reply-to: (message from Jim Blandy on Tue, 21 Aug 2007 10:41:57 -0700) Subject: Re: gdb-6.6 mingw port hangs after Ctrl-C Reply-to: Eli Zaretskii References: <20070820162439.GA30242@caradoc.them.org> <20070820193128.GA17272@caradoc.them.org> <20070821025607.GA14389@ednor.casa.cgf.cx> X-IsSubscribed: yes 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/msg00155.txt.bz2 > Cc: gdb@sourceware.org > From: Jim Blandy > Date: Tue, 21 Aug 2007 10:41:57 -0700 > > 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? What do you mean by ``safely interrupt''? FWIW, I don't think there's such thing on Windows as ``unsafe'' C-c, since it's not really an interrupt when it gets delivered to the application.