From: Andrew Cagney <ac131313@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: GDB Discussion <gdb@sources.redhat.com>
Subject: Re: gdb/remote - I/O
Date: Mon, 14 May 2001 08:55:00 -0000 [thread overview]
Message-ID: <3AFEB7F2.6050803@cygnus.com> (raw)
In-Reply-To: <3ABBDDE4.7C22709D@cygnus.com>
Hello,
Given the recent discussion on the qSymbol packet and a comment that the
target should be able to initiate such an interaction, I'd like to
propose the following as a possible interaction.
<target running>
<- T00;qSymbol;qIn;
.
i.e. the target can stop and
drop a big hint that it would
like to be probed for the given
packet - here qSymbol and qIn
The target has also bundled up
some output data.
-> qIn;<bytes-of-input>
Something goes in the .....
it might be bytes of input
it might be something else
<- "" packet not recognized
<- "OK" nothing at present
-> qSymbol....
<- ....
-> qSumbol....
<- ....
-> C
The exchange is finished continue
the target.
<target resumes execution>
The main point is that this allows the target to initiate an interaction
by pigybacking what they want on a dummy ``T'' packet while at the same
time leaving the host in control - all interactions still being host
initiated.
Andrew
prev parent reply other threads:[~2001-05-14 8:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-23 15:36 Andrew Cagney
2001-03-29 16:27 ` Mark Salter
[not found] ` <3ABF9077.DFC22AE7@cygnus.com>
[not found] ` <200103261954.f2QJsBg15093@deneb.localdomain>
[not found] ` <3ABFA8D1.DA0D2EAE@redhat.com>
[not found] ` <3AC0C9DF.CB1BC2D9@cygnus.com>
2001-03-29 16:27 ` Fernando Nasser
2001-03-29 16:27 ` Andrew Cagney
2001-03-29 23:10 ` Todd Whitesel
2001-03-30 9:23 ` Andrew Cagney
[not found] ` <5mhf0fov3q.fsf@jtc.redback.com>
2001-03-30 9:48 ` Andrew Cagney
2001-04-06 11:28 ` Andrew Cagney
2001-04-06 11:47 ` Fernando Nasser
2001-04-06 12:56 ` J.T. Conklin
2001-04-07 16:02 ` Frank Ch. Eigler
2001-04-09 10:43 ` J.T. Conklin
2001-05-14 8:55 ` Andrew Cagney [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=3AFEB7F2.6050803@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb@sources.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