diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-10-10 05:17:25 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-10-10 05:17:25 +0000 |
commit | 54abed4e7bb01358b139dc923f29cf501b585a08 (patch) | |
tree | d1af898be5756aef8c08b2bc0a3f4f148833e778 /gdb/remote-os9k.c | |
parent | a6fe4d71296869a9c991aeb55f2e9e3c82e15937 (diff) | |
download | gdb-54abed4e7bb01358b139dc923f29cf501b585a08.tar.gz |
Protoization.
Diffstat (limited to 'gdb/remote-os9k.c')
-rw-r--r-- | gdb/remote-os9k.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index 343c75d0d32..08e1d85f524 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -818,14 +818,15 @@ rombug_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 -rombug_xfer_inferior_memory (memaddr, myaddr, len, write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int write; - struct target_ops *target; /* ignored */ +rombug_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, + int write, struct target_ops *target) { if (write) return rombug_write_inferior_memory (memaddr, myaddr, len); |