mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
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:
@ -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>
|
2008-01-24 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
|
* 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:
|
case TARGET_OBJECT_MEMORY:
|
||||||
if (readbuf)
|
if (readbuf)
|
||||||
return (*ops->deprecated_xfer_memory) (offset, readbuf, len,
|
return (*ops->deprecated_xfer_memory) (offset, readbuf, len,
|
||||||
0/*write*/, NULL, ops);
|
0/*read*/, NULL, ops);
|
||||||
if (writebuf)
|
if (writebuf)
|
||||||
return (*ops->deprecated_xfer_memory) (offset, writebuf, len,
|
return (*ops->deprecated_xfer_memory) (offset, writebuf, len,
|
||||||
1/*write*/, NULL, ops);
|
1/*write*/, NULL, ops);
|
||||||
|
@ -1330,8 +1330,8 @@ default_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||||||
do_cleanups (cleanup);
|
do_cleanups (cleanup);
|
||||||
}
|
}
|
||||||
if (readbuf != NULL)
|
if (readbuf != NULL)
|
||||||
xfered = ops->deprecated_xfer_memory (offset, readbuf, len, 0/*read*/,
|
xfered = ops->deprecated_xfer_memory (offset, readbuf, len,
|
||||||
NULL, ops);
|
0/*read*/, NULL, ops);
|
||||||
if (xfered > 0)
|
if (xfered > 0)
|
||||||
return xfered;
|
return xfered;
|
||||||
else if (xfered == 0 && errno == 0)
|
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:
|
case TARGET_OBJECT_MEMORY:
|
||||||
if (readbuf)
|
if (readbuf)
|
||||||
return (*ops->deprecated_xfer_memory) (offset, readbuf,
|
return (*ops->deprecated_xfer_memory) (offset, readbuf,
|
||||||
len, 0/*write*/, NULL, ops);
|
len, 0/*read*/, NULL, ops);
|
||||||
if (writebuf)
|
if (writebuf)
|
||||||
return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
|
return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
|
||||||
len, 1/*write*/, NULL, ops);
|
len, 1/*write*/, NULL, ops);
|
||||||
|
@ -2037,7 +2037,7 @@ win32_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||||||
case TARGET_OBJECT_MEMORY:
|
case TARGET_OBJECT_MEMORY:
|
||||||
if (readbuf)
|
if (readbuf)
|
||||||
return (*ops->deprecated_xfer_memory) (offset, readbuf,
|
return (*ops->deprecated_xfer_memory) (offset, readbuf,
|
||||||
len, 0/*write*/, NULL, ops);
|
len, 0/*read*/, NULL, ops);
|
||||||
if (writebuf)
|
if (writebuf)
|
||||||
return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
|
return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
|
||||||
len, 1/*write*/, NULL, ops);
|
len, 1/*write*/, NULL, ops);
|
||||||
|
Reference in New Issue
Block a user