2003-11-10 Andrew Cagney <cagney@redhat.com>

* target.h (struct target_ops): Order xfer buffer parameters "read
	write" not "write read".
	* bfd-target.c (target_bfd_xfer_partial): Update.
	* remote.c (remote_xfer_partial): Update.
	* inftarg.c (child_xfer_partial): Update.
	* target.c (default_xfer_partial): Update.
	(target_read_partial, target_write_partial): Update.
	(debug_to_xfer_partial): Update.
This commit is contained in:
Andrew Cagney
2003-11-10 21:20:44 +00:00
parent b2699c8b72
commit 8aa91c1e23
6 changed files with 35 additions and 29 deletions

View File

@@ -410,9 +410,9 @@ struct target_ops
and target_write_partial for details of each variant. One, and
only one, of readbuf or writebuf must be non-NULL. */
LONGEST (*to_xfer_partial) (struct target_ops *ops,
enum target_object object,
const char *annex, const void *writebuf,
void *readbuf, ULONGEST offset, LONGEST len);
enum target_object object, const char *annex,
void *readbuf, const void *writebuf,
ULONGEST offset, LONGEST len);
int to_magic;
/* Need sub-structure for target machine related rather than comm related?