From d93bce0603df8a42ac881c0bf2fa043f147ca14f Mon Sep 17 00:00:00 2001 From: Kevin Buettner <kevinb@redhat.com> Date: Thu, 12 Oct 2000 21:39:21 +0000 Subject: Protoization. --- gdb/remote-sim.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gdb/remote-sim.c') diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index d02b1bac696..8b03b889cef 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -706,13 +706,15 @@ gdbsim_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. */ + static int -gdbsim_xfer_inferior_memory (memaddr, myaddr, len, write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int write; - struct target_ops *target; /* ignored */ +gdbsim_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, + int write, struct target_ops *target) { if (!program_loaded) error ("No program loaded."); -- cgit v1.2.1