summaryrefslogtreecommitdiff
path: root/gdb/remote-rdp.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-12 21:39:21 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-12 21:39:21 +0000
commitf255b69ceae2dc91f4ea92e5675f5c7f6bc77006 (patch)
treee0d7f2d67db7e0fc16fc1876db527ec69592177f /gdb/remote-rdp.c
parentbe06da4b516671d62c4da11913cecf60d6cc2da4 (diff)
downloadgdb-f255b69ceae2dc91f4ea92e5675f5c7f6bc77006.tar.gz
Protoization.
Diffstat (limited to 'gdb/remote-rdp.c')
-rw-r--r--gdb/remote-rdp.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/remote-rdp.c b/gdb/remote-rdp.c
index d64e94ac539..62e10139d87 100644
--- a/gdb/remote-rdp.c
+++ b/gdb/remote-rdp.c
@@ -1241,13 +1241,15 @@ remote_rdp_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. */
+
static int
-remote_rdp_xfer_inferior_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* ignored */
+remote_rdp_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
+ int write, struct target_ops *target)
{
/* I infer from D Taylor's code that there's a limit on the amount
we can transfer in one chunk.. */