From b6958cfb8f223caa0deb821167f3da45a84c8f08 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 25 Jun 2005 12:49:01 +0000 Subject: [PATCH] * 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 *'. --- gdb/ChangeLog | 5 +++++ gdb/sol-thread.c | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90f77a0b54e..7a365e3e51a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2005-06-25 Mark Kettenis + * 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 *'. + * mips-tdep.c (mips_xfer_register, mips_o32_return_value) (mips_integer_to_address): Use gdb_byte instead of bfd_byte. diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 0dc47ae4cde..55c8766ef29 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; -- 2.30.2