This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Allow xfer_partial to signal EOF out of band


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]