Protoization.

This commit is contained in:
Kevin Buettner
2000-10-16 06:42:28 +00:00
parent 6588847e4f
commit 832c69cf02
4 changed files with 21 additions and 20 deletions

View File

@@ -548,14 +548,15 @@ st2000_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
st2000_xfer_inferior_memory (memaddr, myaddr, len, write, target)
CORE_ADDR memaddr;
char *myaddr;
int len;
int write;
struct target_ops *target; /* ignored */
st2000_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
int write, struct target_ops *target)
{
if (write)
return st2000_write_inferior_memory (memaddr, myaddr, len);