aboutsummaryrefslogtreecommitdiff
path: root/gdb/ocd.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-09-26 04:27:59 +0000
committerKevin Buettner <kevinb@redhat.com>2000-09-26 04:27:59 +0000
commit697ec6c4a5c1aa30f7fcb819398a4edad5e977c6 (patch)
treef70452550c205f7bc15c1d09fe516b520adc8a36 /gdb/ocd.c
parent409141842e9df6456569919f0bccfa11f7118b0e (diff)
downloadgdb-697ec6c4a5c1aa30f7fcb819398a4edad5e977c6.zip
gdb-697ec6c4a5c1aa30f7fcb819398a4edad5e977c6.tar.gz
gdb-697ec6c4a5c1aa30f7fcb819398a4edad5e977c6.tar.bz2
Protoization.
Diffstat (limited to 'gdb/ocd.c')
-rw-r--r--gdb/ocd.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/ocd.c b/gdb/ocd.c
index eb80948..3d054b7 100644
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -764,16 +764,13 @@ ocd_read_bytes (CORE_ADDR memaddr, char *myaddr, int len)
/* Read or write LEN bytes from inferior memory at MEMADDR, transferring
to or from debugger address MYADDR. Write to inferior if SHOULD_WRITE is
- nonzero. Returns length of data written or read; 0 for error. */
+ nonzero. Returns length of data written or read; 0 for error. TARGET
+ is ignored. */
/* ARGSUSED */
int
-ocd_xfer_memory (memaddr, myaddr, len, should_write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int should_write;
- struct target_ops *target; /* ignored */
+ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write,
+ struct target_ops *target)
{
return dcache_xfer_memory (ocd_dcache, memaddr, myaddr, len, should_write);
}