* sol-thread.c (sol_thread_xfer_memory): Change type of second
authorMark Kettenis <kettenis@gnu.org>
Sat, 25 Jun 2005 12:49:01 +0000 (12:49 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 25 Jun 2005 12:49:01 +0000 (12:49 +0000)
argument to `gdb_byte *'.
(sol_thread_xfer_partial): Change type of readbuf and writebuf
arguments to `gdb_byte *'.

gdb/ChangeLog
gdb/sol-thread.c

index 90f77a0b54ec79aa9181800779752c195b66fdfa..7a365e3e51a74ce109135b990e9628781b01d977 100644 (file)
@@ -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.
 
index 0dc47ae4cde0e8a1e75dd19b0cc58b05b526304f..55c8766ef29a8dfa92c0edcdc1547de9706e6475 100644 (file)
@@ -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;