From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6181 invoked by alias); 23 Apr 2010 20:11:20 -0000 Received: (qmail 6158 invoked by uid 22791); 23 Apr 2010 20:11:16 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Apr 2010 20:11:11 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 04CA42BAB2C; Fri, 23 Apr 2010 16:11:10 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MH8fUsnXQmgN; Fri, 23 Apr 2010 16:11:09 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id A98E12BAB4E; Fri, 23 Apr 2010 16:11:09 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 06497F5895; Fri, 23 Apr 2010 13:11:09 -0700 (PDT) Date: Fri, 23 Apr 2010 20:11:00 -0000 From: Joel Brobecker To: John Cortell Cc: gdb@sourceware.org Subject: Re: sending CTRL-C to Cygwin gdb 6.8 has no effect Message-ID: <20100423201109.GQ13204@adacore.com> References: <201004231941.o3NJfbWR021914@az33smr01.freescale.net> <20100423194404.GP13204@adacore.com> <201004232005.o3NK58Qu027711@az33smr01.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201004232005.o3NK58Qu027711@az33smr01.freescale.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-04/txt/msg00116.txt.bz2 This is as much as I know without having to look deeper into this, but that should give you enough info to figure out the rest... The change that improved the control-c behavior is the following one: | 2009-03-22 Nicolas Roche | Christopher Faylor | | * win32-nat.c (ctrl_c_handler): New function. | (win32_wait): Register ctrl_c_handler as Ctrl-C handler if the inferior | is run in a separate console. > Hm. That document tells me that gdb itself can interrupt a remote > inferior, but how do I tell gdb to do so? I'm not a gdb expert, so > perhaps this is a dumb question. It depends of your environement, but basically, you press ctrl-c, or you get the IDE to send this ctrl-c to GDB. -- Joel