Interrupt packets in the remote protocol

Daniel Jacobowitz drow@false.org
Sun Nov 4 03:08:00 GMT 2007


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



More information about the Gdb mailing list