From: Eli Zaretskii <eliz@gnu.org>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: Interrupting remote targets from GDB
Date: Thu, 17 Nov 2005 19:46:00 -0000 [thread overview]
Message-ID: <ulkzn5a7j.fsf@gnu.org> (raw)
In-Reply-To: <20051117112043.4d9f587e@ironwood.lan> (message from Kevin Buettner on Thu, 17 Nov 2005 11:20:43 -0700)
> Date: Thu, 17 Nov 2005 11:20:43 -0700
> From: Kevin Buettner <kevinb@redhat.com>
>
> I think this documentation is fine, but would also like to see some
> suitable documentation added to the section describing the GDB remote
> protocol. I suggest that a section called "Interrupts" be added in
> between the sections "Register Packet Format" and "Examples". I propose
> that it contain the following text:
>
> When a program on the remote target is running, GDB may attempt
> to interrupt it by sending a `Ctrl-C' or a BREAK, control of which
> is specified via GDB's `remotebreak' setting. The precise meaning
> of BREAK is defined by the transport mechanism and may, in fact,
> be undefined. `Ctrl-C', on the other hand, is defined for all
> transport mechanisms and is represented by sending the single byte
> 0x03. `Ctrl-C' must not be sent as part of a packet as defined in
> the "Overview".
>
> Stubs are not required to recognize these interrupt mechanisms and
> the precise meaning associated with receipt of the interrupt is
> implementation defined. If the stub is successful at interrupting
> the running program, it is expected that it will send one of the
> `Stop Reply Packets' to GDB as a result of successfully stopping
> the program.
>
> Comments?
Fine with me. Can you craft a patch and post it on gdb-patches for
review?
prev parent reply other threads:[~2005-11-17 19:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-17 18:20 Kevin Buettner
2005-11-17 18:51 ` Daniel Jacobowitz
2005-11-17 19:14 ` Kevin Buettner
2005-11-17 19:52 ` Kevin Buettner
2005-11-17 19:46 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ulkzn5a7j.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=kevinb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox