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 | 120abad8b7c1433b48d5d1c8fb43b19b20feccd9 (patch) | |
tree | de8040fd69afbe9fd3e1fd94c2047da4600dd524 /gdb/remote-os9k.c | |
parent | 23a87948dded8c5a7b832e3f5f86dbdd442e7053 (diff) | |
download | gdb-120abad8b7c1433b48d5d1c8fb43b19b20feccd9.zip gdb-120abad8b7c1433b48d5d1c8fb43b19b20feccd9.tar.gz gdb-120abad8b7c1433b48d5d1c8fb43b19b20feccd9.tar.bz2 |
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 343c75d..08e1d85 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); |