mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
Protoization.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user