This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] to_read/write_partial -> to_xfer_partial
Date: Mon, 27 Oct 2003 13:46:31 -0700
From: Kevin Buettner <kevinb@redhat.com>
On Oct 27, 3:25pm, Andrew Cagney wrote:
> Per: http://sources.redhat.com/ml/gdb-patches/2003-10/msg00641.html
> > Having taken the change to this point, I'm now wondering if the
> > read/write partial methods should be merged into:
> > to_xfer_partial (targ, object, annex,
> > offset, len,
> > readbuf, writebuf)
> > as that would make migrating existing targets easier.
>
> Having implemented bfd-target and remote-target versions
> to_read/write_partial, I think this switch is going to make life easier.
Could you offer a few more details on why you think that merging the
read/write methods into a single xfer method will make it easier to
migrate existing targets?
Yes please. Personally I find xfer much more confusing than seperate
read/write methods.
Mark