aboutsummaryrefslogtreecommitdiff
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
commit832c69cf028a7fc32de1bd6261451a9354707e4e (patch)
tree55349c5523a28f69f6cf1b1dc6b2ba265695a60f /gdb/remote-st.c
parent6588847e4f855188fcd187e6484791dffc350469 (diff)
downloadgdb-832c69cf028a7fc32de1bd6261451a9354707e4e.zip
gdb-832c69cf028a7fc32de1bd6261451a9354707e4e.tar.gz
gdb-832c69cf028a7fc32de1bd6261451a9354707e4e.tar.bz2
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 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);