aboutsummaryrefslogtreecommitdiff
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
commitd93bce0603df8a42ac881c0bf2fa043f147ca14f (patch)
tree7a6dd52a92dc893b6fa7df40f63ac474a644c8d8 /gdb/remote-rdp.c
parent235d1e032292b26ef7f9e66bab679edc8455f535 (diff)
downloadgdb-d93bce0603df8a42ac881c0bf2fa043f147ca14f.zip
gdb-d93bce0603df8a42ac881c0bf2fa043f147ca14f.tar.gz
gdb-d93bce0603df8a42ac881c0bf2fa043f147ca14f.tar.bz2
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 d64e94a..62e1013 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.. */