aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-st.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r--gdb/remote-st.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c
index aa00e8f..85077bb 100644
--- a/gdb/remote-st.c
+++ b/gdb/remote-st.c
@@ -548,14 +548,15 @@ st2000_read_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len)
return len;
}
-/* FIXME-someday! Merge these two. */
+/* 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
-st2000_xfer_inferior_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* ignored */
+st2000_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
+ int write, struct target_ops *target)
{
if (write)
return st2000_write_inferior_memory (memaddr, myaddr, len);