From: Daniel Jacobowitz <drow@false.org>
To: gdb@sourceware.org
Subject: Re: to_xfer_partial, qPart, and EOF
Date: Thu, 19 Jan 2006 02:03:00 -0000 [thread overview]
Message-ID: <20060119020036.GA23692@nevyn.them.org> (raw)
In-Reply-To: <8f2776cb0601181718ybb52db4pc5c3aca9bf00adfe@mail.gmail.com>
On Wed, Jan 18, 2006 at 05:18:49PM -0800, Jim Blandy wrote:
> This, and a few other remote protocol wrinkles, are consequences of
> the mis-layering of the GDB protocol. The protocol should simply
> specify that the entire block of data gets transmitted, and let lower
> layers handle retransmission and fragmentation.
>
> I recognize it's probably not practical to fix this today, and maybe
> it never will be. But I keep running into instances of this when I
> work on the remote protocol --- tracepoint definition packets needing
> to be broken up into pieces to avoid long packets; breakpoint packets
> needing to be idempotent, because they might be retransmitted; and so
> on --- so I wanted to mention it. Perhaps someone will have a flash
> of super-coder powers some weekend.
I suspect we will need to redesign the protocol rather than just
layering on top of it, eventually. Maybe not. I don't know; I'm not
feeling that ambitious right now.
The two things I most often hear about as fundamental problems with the
existing protocol are:
- multiple "channels" for output to/from the host, especially
asynchronous channels (logging without stopping the target)
- other asynchronous communication, e.g. collecting tracepoints
or reading memory without stopping the target, where supported
> > Any comments on either of these plans? Otherwise I will probably implement
> > them in the next couple of days. I'm doing a lot of work in this area
> > at present.
>
> Sounds great to me.
Thanks.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2006-01-19 2:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-18 23:19 Daniel Jacobowitz
2006-01-19 2:00 ` Jim Blandy
2006-01-19 2:03 ` Daniel Jacobowitz [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=20060119020036.GA23692@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
/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