From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4803 invoked by alias); 18 Nov 2005 13:23:02 -0000 Received: (qmail 4786 invoked by uid 22791); 18 Nov 2005 13:23:00 -0000 Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 18 Nov 2005 13:23:00 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-36-201.inter.net.il [80.230.36.201]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CZT15702 (AUTH halo1); Fri, 18 Nov 2005 15:22:56 +0200 (IST) Date: Fri, 18 Nov 2005 13:53:00 -0000 Message-Id: From: Eli Zaretskii To: Steven Johnson CC: gdb-patches@sources.redhat.com In-reply-to: <437D60FA.4020506@sakuraindustries.com> (message from Steven Johnson on Fri, 18 Nov 2005 16:04:58 +1100) Subject: Re: [rfa/doc] Add section on interrupts to remote protocol documentation Reply-to: Eli Zaretskii References: <20051117195224.32094bd5@ironwood.lan> <8f2776cb0511172044w663f78f8wfac5c3501891996d@mail.gmail.com> <437D60FA.4020506@sakuraindustries.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00322.txt.bz2 > Date: Fri, 18 Nov 2005 16:04:58 +1100 > From: Steven Johnson > > Otherwise, ^C is ignored as a special character. What does "interrupt" > mean when you are not doing anything that can be interrupted? > > If you are executing code, then you are in the "Dead space" between the > packet from GDB to the target to get the target to execute code, and the > reply from that packet. I would have thought during this time, and this > time only ^C has any relevance? If so then, it doesnt need to be > quoted, As you cant send a packet during this time. > > I think it would be better to say that during this time, and this time > only is when ^C is relevant, and if received at any other time it is > processed like that character would be in the message stream. Isn't this what Kevin's text says? Here's the relevant fragment: Interrupts received while the program is stopped will be discarded.