aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-eb.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-06 21:50:56 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-06 21:50:56 +0000
commitd742f2c2204a85d8196bcda35f22fa2da93aed70 (patch)
tree851715a7b0f27a5b7bb5a7d5f7e3b308a2367532 /gdb/remote-eb.c
parent3e4554a2064c06f1b49a759095ad5f2d172d45bc (diff)
downloadfsf-binutils-gdb-d742f2c2204a85d8196bcda35f22fa2da93aed70.zip
fsf-binutils-gdb-d742f2c2204a85d8196bcda35f22fa2da93aed70.tar.gz
fsf-binutils-gdb-d742f2c2204a85d8196bcda35f22fa2da93aed70.tar.bz2
Protoization.
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);