summaryrefslogtreecommitdiff
path: root/gdb/remote-st.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-16 06:42:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-16 06:42:28 +0000
commit50f3d3d1f621f844a191b15496d4e61695f8fe39 (patch)
treecc35f207dd3a03c31183e2c7e3aea7f0d0fde214 /gdb/remote-st.c
parent05a52f69a30e62fffdbc5ac351fa1be6c00e09dd (diff)
downloadgdb-50f3d3d1f621f844a191b15496d4e61695f8fe39.tar.gz
Protoization.
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 aa00e8fa2e5..85077bb175d 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);