diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-10 21:20:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-10 21:20:44 +0000 |
commit | 8aa91c1e237baa3e8223d6304cdcd66380f83119 (patch) | |
tree | 3a554770a0c8001fa1988fcb95b400068cc1780c /gdb/target.h | |
parent | b2699c8b72d0a56546c14b32df7cbf764eca91e5 (diff) | |
download | gdb-8aa91c1e237baa3e8223d6304cdcd66380f83119.zip gdb-8aa91c1e237baa3e8223d6304cdcd66380f83119.tar.gz gdb-8aa91c1e237baa3e8223d6304cdcd66380f83119.tar.bz2 |
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.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/target.h b/gdb/target.h index 4d10f02..42b9596 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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? |