This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Allow xfer_partial to signal EOF out of band
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 5 Jul 2006 15:08:10 -0400
- Subject: Re: [rfc] Allow xfer_partial to signal EOF out of band
- References: <20060622033609.GA28010@nevyn.them.org>
On Wed, Jun 21, 2006 at 11:36:09PM -0400, Daniel Jacobowitz wrote:
> This patch adds a mechanism for to_xfer_partial to signal that it's done.
> I didn't implement the new mechanism for any other targets besides remote;
> it could easily be done for e.g. procfs_read_auxv, but the turnaround time
> is such that it's not a big deal either way. For the remote protocol,
> where there's an extra round trip to the remote link, I set *no_more if
> the target tells me to.
>
> This is strictly an optional flag. If you don't set it, returning zero will
> signal EOF exactly as before.
For avoidance of doubt: This patch is withdrawn. I've incorporated a
more local solution in the qXfer patch.
--
Daniel Jacobowitz
CodeSourcery