aboutsummaryrefslogtreecommitdiff
path: root/gdb/bfd-target.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-10 21:20:44 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-10 21:20:44 +0000
commit8aa91c1e237baa3e8223d6304cdcd66380f83119 (patch)
tree3a554770a0c8001fa1988fcb95b400068cc1780c /gdb/bfd-target.c
parentb2699c8b72d0a56546c14b32df7cbf764eca91e5 (diff)
downloadgdb-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/bfd-target.c')
-rw-r--r--gdb/bfd-target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c
index 39cc73f..ee16d85 100644
--- a/gdb/bfd-target.c
+++ b/gdb/bfd-target.c
@@ -71,8 +71,8 @@ build_target_sections_from_bfd (struct target_ops *targ, struct bfd *abfd)
LONGEST
target_bfd_xfer_partial (struct target_ops *ops,
enum target_object object,
- const char *annex, const void *writebuf,
- void *readbuf, ULONGEST offset, LONGEST len)
+ const char *annex, void *readbuf,
+ const void *writebuf, ULONGEST offset, LONGEST len)
{
switch (object)
{