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.
This commit is contained in:
parent
d6e07b52b7
commit
244e85c8df
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
@ -4322,7 +4322,7 @@ procfs_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||
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);
|
||||
|
|
|
@ -1330,8 +1330,8 @@ default_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||
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)
|
||||
|
|
|
@ -2037,7 +2037,7 @@ win32_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||
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);
|
||||
|
|
|
@ -2037,7 +2037,7 @@ win32_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue