+2014-01-23 Yao Qi <yao@codesourcery.com>
+
+ * target.c (raw_memory_xfer_partial): Change argument type
+ from void * to gdb_byte *.
+ (memory_xfer_partial_1, memory_xfer_partial): Likewise.
+
2014-01-22 Doug Evans <dje@google.com>
New gdbserver option --debug-format=timestamp.
the target below it. So, we must manually try all targets. */
static LONGEST
-raw_memory_xfer_partial (struct target_ops *ops, void *readbuf,
- const void *writebuf, ULONGEST memaddr, LONGEST len)
+raw_memory_xfer_partial (struct target_ops *ops, gdb_byte *readbuf,
+ const gdb_byte *writebuf, ULONGEST memaddr, LONGEST len)
{
LONGEST res;
static LONGEST
memory_xfer_partial_1 (struct target_ops *ops, enum target_object object,
- void *readbuf, const void *writebuf, ULONGEST memaddr,
+ gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST memaddr,
ULONGEST len)
{
LONGEST res;
static LONGEST
memory_xfer_partial (struct target_ops *ops, enum target_object object,
- void *readbuf, const void *writebuf, ULONGEST memaddr,
+ gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST memaddr,
ULONGEST len)
{
int res;