summaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index c5d6da69ae0..869a91e2928 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -2000,13 +2000,13 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len)
return len;
}
+/* Transfer LEN bytes between target address MEMADDR and GDB address
+ MYADDR. Returns 0 for success, errno code for failure. TARGET is
+ unused. */
+
static int
-monitor_xfer_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* ignored */
+monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+ struct target_ops *target)
{
return dcache_xfer_memory (remote_dcache, memaddr, myaddr, len, write);
}