From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30140 invoked by alias); 4 Nov 2007 03:08:15 -0000 Received: (qmail 30130 invoked by uid 22791); 4 Nov 2007 03:08:15 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 04 Nov 2007 03:08:13 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DEAAE9833E; Sun, 4 Nov 2007 03:08:10 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id A386E9829E; Sun, 4 Nov 2007 03:08:10 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IoVqL-0002DM-AY; Sat, 03 Nov 2007 23:08:09 -0400 Date: Sun, 04 Nov 2007 03:08:00 -0000 From: Daniel Jacobowitz To: Simon Kagstrom Cc: gdb@sourceware.org Subject: Re: Interrupt packets in the remote protocol Message-ID: <20071104030809.GA8183@caradoc.them.org> Mail-Followup-To: Simon Kagstrom , gdb@sourceware.org References: <20071103182847.54afb758@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071103182847.54afb758@localhost> User-Agent: Mutt/1.5.15 (2007-04-09) 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-11/txt/msg00022.txt.bz2 On Sat, Nov 03, 2007 at 06:28:47PM +0100, Simon Kagstrom wrote: > The server mostly works now except for interrupts (Ctrl-C in GDB). It looks > like the interrupt packets (plain 0x03) are never sent. A log with > 'set debug remote 1' looks as follows: How sure are you of this? The Ctrl-C packet won't show up directly in the log, because it's not a "packet" as such. It doesn't get the $ or #CHECKSUM; it's just a \003. It's sent here: > remote_interrupt called > remote_stop called -- Daniel Jacobowitz CodeSourcery