summaryrefslogtreecommitdiff
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
commit2e99be78e62d5dbedc0994a56f92c19322738804 (patch)
tree19e3d7f1a9a061b9acb58e69ab876963bc3eb15b /gdb/bfd-target.c
parenta6380b11616f89642db7791f7d12dc9ee7193f8c (diff)
downloadgdb-2e99be78e62d5dbedc0994a56f92c19322738804.tar.gz
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 39cc73f5a91..ee16d85f52a 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)
{