From: Andrew Cagney <ac131313@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] to_read/write_partial -> to_xfer_partial
Date: Fri, 31 Oct 2003 16:13:00 -0000 [thread overview]
Message-ID: <3FA28A09.7060306@redhat.com> (raw)
In-Reply-To: <3F9D7F21.6030001@redhat.com>
> Hello,
>
> 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. The attached converts the code.
>
> Comments?
>
> I'll also update the bfd-target I've posted.
I've checked this in.
Andrew
> 2003-10-27 Andrew Cagney <cagney@redhat.com>
>
> * target.h (struct target_ops): Replace "to_read_partial" and
> "to_write_partial" with "to_xfer_partial". Update comments.
> * target.c (debug_to_write_partial): Delete function.
> (debug_to_xfer_partial): Replace debug_to_read_partial.
> (add_target, update_current_target, setup_target_debug): Set
> "to_xfer_partial" instead of "to_read_partial" and
> "to_write_partial".
> (default_xfer_partial): Replace "default_write_partial".
> (default_read_partial): Delete.
> (target_read_partial, target_write_partial): Call
> "to_xfer_partial".
> * remote.c (init_remote_ops): Set "to_xfer_partial".
> (init_remote_async_ops): Ditto.
> (remote_xfer_partial): Replace "remote_read_partial".
>
prev parent reply other threads:[~2003-10-31 16:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-27 20:25 Andrew Cagney
2003-10-27 20:46 ` Kevin Buettner
2003-10-27 22:29 ` Mark Kettenis
2003-10-28 15:49 ` Andrew Cagney
2003-10-28 22:11 ` Kevin Buettner
2003-10-29 0:03 ` Andrew Cagney
2003-10-29 5:15 ` Kevin Buettner
2003-10-31 16:13 ` 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=3FA28A09.7060306@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@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