This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] gdb_bytize sol_thread.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sat, 25 Jun 2005 14:48:49 +0200 (CEST)
- Subject: [commit] gdb_bytize sol_thread.c
Index: ChangeLog
from 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 *'.
Index: sol-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/sol-thread.c,v
retrieving revision 1.49
diff -u -p -r1.49 sol-thread.c
--- sol-thread.c 15 May 2005 22:13:53 -0000 1.49
+++ sol-thread.c 25 Jun 2005 12:47:39 -0000
@@ -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 memadd
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;