aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-09-24 04:42:12 +0000
committerKevin Buettner <kevinb@redhat.com>2000-09-24 04:42:12 +0000
commit0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204 (patch)
tree9477067e3d1587ba365e657dd765c3d65e02d11f /gdb/monitor.c
parent959ee54136558b8c3441d2e7167699c6ffba401f (diff)
downloadgdb-0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204.zip
gdb-0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204.tar.gz
gdb-0e7e8d51a4cc7dd8b40e4a4032bab953fed4e204.tar.bz2
Protoization.
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 c5d6da6..869a91e 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);
}