aboutsummaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-06-25 12:49:01 +0000
committerMark Kettenis <kettenis@gnu.org>2005-06-25 12:49:01 +0000
commitb6958cfb8f223caa0deb821167f3da45a84c8f08 (patch)
tree7b5ec103fbb7e998e793d09608eb0b33b69be96b /gdb/sol-thread.c
parent870cd05e2401af660a76d8b2c65674eef1d307f9 (diff)
downloadgdb-b6958cfb8f223caa0deb821167f3da45a84c8f08.zip
gdb-b6958cfb8f223caa0deb821167f3da45a84c8f08.tar.gz
gdb-b6958cfb8f223caa0deb821167f3da45a84c8f08.tar.bz2
* sol-thread.c (sol_thread_xfer_memory): Change type of second
argument to `gdb_byte *'. (sol_thread_xfer_partial): Change type of readbuf and writebuf arguments to `gdb_byte *'.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 0dc47ae..55c8766 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -661,8 +661,8 @@ sol_thread_prepare_to_store (void)
Returns the number of bytes transferred. */
static int
-sol_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
- struct mem_attrib *attrib,
+sol_thread_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
+ int dowrite, struct mem_attrib *attrib,
struct target_ops *target)
{
int retval;
@@ -698,8 +698,9 @@ sol_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
static LONGEST
sol_thread_xfer_partial (struct target_ops *ops, enum target_object object,
- const char *annex, void *readbuf,
- const void *writebuf, ULONGEST offset, LONGEST len)
+ const char *annex, gdb_byte *readbuf,
+ const gdb_byte *writebuf,
+ ULONGEST offset, LONGEST len)
{
int retval;
struct cleanup *old_chain;