aboutsummaryrefslogtreecommitdiff
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
commitc338868aa604bab130d51c50ece12ac68bd63c94 (patch)
tree37e680db5a420b709d36c175c3a626a8d79e6d18 /gdb/sol-thread.c
parente6c774b42adff3c63cb512132d9a7c40ca99be72 (diff)
downloadgdb-c338868aa604bab130d51c50ece12ac68bd63c94.zip
gdb-c338868aa604bab130d51c50ece12ac68bd63c94.tar.gz
gdb-c338868aa604bab130d51c50ece12ac68bd63c94.tar.bz2
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 5e0b1da..d78f8e6 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;