* procfs.c (procfs_xfer_partial): Comment, cut/paste error.
* win32-nat.c (win32_xfer_partial): Ditto.
* target.c (default_xfer_partial): Minor whitespace adjustment.
+2008-01-24 Michael Snyder <msnyder@specifix.com>
+
+ * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
+ * win32-nat.c (win32_xfer_partial): Ditto.
+ * target.c (default_xfer_partial): Minor whitespace adjustment.
+
2008-01-24 Pedro Alves <pedro@codesourcery.com>
* arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
case TARGET_OBJECT_MEMORY:
if (readbuf)
return (*ops->deprecated_xfer_memory) (offset, readbuf, len,
- 0/*write*/, NULL, ops);
+ 0/*read*/, NULL, ops);
if (writebuf)
return (*ops->deprecated_xfer_memory) (offset, writebuf, len,
1/*write*/, NULL, ops);
do_cleanups (cleanup);
}
if (readbuf != NULL)
- xfered = ops->deprecated_xfer_memory (offset, readbuf, len, 0/*read*/,
- NULL, ops);
+ xfered = ops->deprecated_xfer_memory (offset, readbuf, len,
+ 0/*read*/, NULL, ops);
if (xfered > 0)
return xfered;
else if (xfered == 0 && errno == 0)
case TARGET_OBJECT_MEMORY:
if (readbuf)
return (*ops->deprecated_xfer_memory) (offset, readbuf,
- len, 0/*write*/, NULL, ops);
+ len, 0/*read*/, NULL, ops);
if (writebuf)
return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
len, 1/*write*/, NULL, ops);
case TARGET_OBJECT_MEMORY:
if (readbuf)
return (*ops->deprecated_xfer_memory) (offset, readbuf,
- len, 0/*write*/, NULL, ops);
+ len, 0/*read*/, NULL, ops);
if (writebuf)
return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
len, 1/*write*/, NULL, ops);