diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-06-25 12:49:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-06-25 12:49:01 +0000 |
commit | b6958cfb8f223caa0deb821167f3da45a84c8f08 (patch) | |
tree | 7b5ec103fbb7e998e793d09608eb0b33b69be96b /gdb | |
parent | 870cd05e2401af660a76d8b2c65674eef1d307f9 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sol-thread.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90f77a0..7a365e3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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_integer_to_address): Use gdb_byte instead of bfd_byte. 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; |