2000-12-11 Fernando Nasser <fnasser@redhat.com>
[deliverable/binutils-gdb.git] / gdb / remote-eb.c
index 302e87ef6776753d324b7c46efccb7bcdca689ed..42e606ffdb9744643e80351daaad0a3c09d79916 100644 (file)
@@ -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);
This page took 0.023478 seconds and 4 git commands to generate.