This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Interrupt packets in the remote protocol
- From: Daniel Jacobowitz <drow at false dot org>
- To: Simon Kagstrom <simon dot kagstrom at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Sat, 3 Nov 2007 23:08:09 -0400
- Subject: Re: Interrupt packets in the remote protocol
- References: <20071103182847.54afb758@localhost>
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