This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa/doc] Add section on interrupts to remote protocol documentation
> Date: Fri, 18 Nov 2005 16:04:58 +1100
> From: Steven Johnson <sjohnson@sakuraindustries.com>
>
> 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.