aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-eb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-eb.c')
-rw-r--r--gdb/remote-eb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/remote-eb.c b/gdb/remote-eb.c
index 302e87e..42e606f 100644
--- a/gdb/remote-eb.c
+++ b/gdb/remote-eb.c
@@ -871,15 +871,15 @@ eb_prepare_to_store (void)
/* Do nothing, since we can store individual regs */
}
+/* Transfer LEN bytes between GDB address MYADDR and target address
+ MEMADDR. If WRITE is non-zero, transfer them to the target,
+ otherwise transfer them from the target. TARGET is unused.
+
+ Returns the number of bytes transferred. */
-/* FIXME-someday! Merge these two. */
int
-eb_xfer_inferior_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* ignored */
+eb_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+ struct target_ops *target)
{
if (write)
return eb_write_inferior_memory (memaddr, myaddr, len);