From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13074 invoked by alias); 18 Nov 2005 05:55:57 -0000 Received: (qmail 13060 invoked from network); 18 Nov 2005 05:55:52 -0000 Received: from unknown (202.80.33.51) by sourceware.org with QMTP; 18 Nov 2005 05:55:52 -0000 Received: (qmail 2268 invoked from network); 18 Nov 2005 05:04:53 -0000 X-Anti-Virus: Message scanned for viruses by TVL Received: from unknown (HELO [192.168.2.14]) ([202.80.36.47]) (envelope-sender ) by mail.vanuatu.com.vu (qmail-ldap-1.03) with SMTP for ; 18 Nov 2005 05:04:53 -0000 Message-ID: <437D60FA.4020506@sakuraindustries.com> Date: Fri, 18 Nov 2005 11:20:00 -0000 From: Steven Johnson User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [rfa/doc] Add section on interrupts to remote protocol documentation References: <20051117195224.32094bd5@ironwood.lan> <8f2776cb0511172044w663f78f8wfac5c3501891996d@mail.gmail.com> In-Reply-To: <8f2776cb0511172044w663f78f8wfac5c3501891996d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00311.txt.bz2 I thought that ^C only was relevant after the `C', `c', `S', `s' packets and before a Stop Reply Packet. None of the stubs ive implemented treat "^C" exceptionally, except when they are running code. 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. Steven Jim Blandy wrote: >Interesting. The documentation on the 'X' binary download packet >doesn't mention C-c as one of the characters that gets quoted. And, >in fact, remote.c:remote_write_bytes doesn't quote it. Who's right >here? > > > >