From 3ae553af1ab9b37fb9b1ff47212e062e3d08a4cd Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 18 Oct 2000 03:29:25 +0000 Subject: Protoization. --- gdb/sol-thread.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gdb/sol-thread.c') diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 5e0b1da9898..d78f8e609c3 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -754,13 +754,15 @@ sol_thread_prepare_to_store (void) procfs_ops.to_prepare_to_store (); } +/* Transfer LEN bytes between GDB address MYADDR and target address + MEMADDR. If DOWRITE 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 -sol_thread_xfer_memory (memaddr, myaddr, len, dowrite, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int dowrite; - struct target_ops *target; /* ignored */ +sol_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite, + struct target_ops *target) { int retval; struct cleanup *old_chain; -- cgit v1.2.1