+2007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * corelow.c (core_xfer_partial): Pass writebuf to
+ deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case.
+
2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
* arm-tdep.h (arm_skip_stub): Declare.
{
case TARGET_OBJECT_MEMORY:
if (readbuf)
- return (*ops->deprecated_xfer_memory) (offset, readbuf, len,
- 0/*write*/, NULL, ops);
+ return (*ops->deprecated_xfer_memory) (offset, readbuf,
+ len, 0/*write*/, NULL, ops);
if (writebuf)
- return (*ops->deprecated_xfer_memory) (offset, readbuf, len,
- 1/*write*/, NULL, ops);
+ return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
+ len, 1/*write*/, NULL, ops);
return -1;
case TARGET_OBJECT_AUXV: