* 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 *'.
This commit is contained in:
Mark Kettenis
2005-06-25 12:49:01 +00:00
parent 870cd05e24
commit b6958cfb8f
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,10 @@
2005-06-25 Mark Kettenis <kettenis@gnu.org> 2005-06-25 Mark Kettenis <kettenis@gnu.org>
* 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-tdep.c (mips_xfer_register, mips_o32_return_value)
(mips_integer_to_address): Use gdb_byte instead of bfd_byte. (mips_integer_to_address): Use gdb_byte instead of bfd_byte.

View File

@ -661,8 +661,8 @@ sol_thread_prepare_to_store (void)
Returns the number of bytes transferred. */ Returns the number of bytes transferred. */
static int static int
sol_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite, sol_thread_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
struct mem_attrib *attrib, int dowrite, struct mem_attrib *attrib,
struct target_ops *target) struct target_ops *target)
{ {
int retval; int retval;
@ -698,8 +698,9 @@ sol_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
static LONGEST static LONGEST
sol_thread_xfer_partial (struct target_ops *ops, enum target_object object, sol_thread_xfer_partial (struct target_ops *ops, enum target_object object,
const char *annex, void *readbuf, const char *annex, gdb_byte *readbuf,
const void *writebuf, ULONGEST offset, LONGEST len) const gdb_byte *writebuf,
ULONGEST offset, LONGEST len)
{ {
int retval; int retval;
struct cleanup *old_chain; struct cleanup *old_chain;