From 8aa91c1e237baa3e8223d6304cdcd66380f83119 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 10 Nov 2003 21:20:44 +0000 Subject: 2003-11-10 Andrew Cagney * 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. --- gdb/bfd-target.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/bfd-target.c') 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) { -- cgit v1.1