Protoization.

This commit is contained in:
Kevin Buettner
2000-10-06 21:50:56 +00:00
parent 3e4554a206
commit d742f2c220
4 changed files with 28 additions and 25 deletions

View File

@ -871,15 +871,15 @@ eb_prepare_to_store (void)
/* Do nothing, since we can store individual regs */
}
/* 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. */
/* FIXME-someday! Merge these two. */
int
eb_xfer_inferior_memory (memaddr, myaddr, len, write, target)
CORE_ADDR memaddr;
char *myaddr;
int len;
int write;
struct target_ops *target; /* ignored */
eb_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct target_ops *target)
{
if (write)
return eb_write_inferior_memory (memaddr, myaddr, len);