summaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-18 03:29:25 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-18 03:29:25 +0000
commit3ae553af1ab9b37fb9b1ff47212e062e3d08a4cd (patch)
treeb93dccef19f04c0ae488cc70d68cd4a88159b43b /gdb/sol-thread.c
parent77ba3eb1803264ff0d2450625f55941e5006c8c2 (diff)
downloadgdb-3ae553af1ab9b37fb9b1ff47212e062e3d08a4cd.tar.gz
Protoization.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c14
1 files changed, 8 insertions, 6 deletions
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;