Browse Source

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.
insight_6_8-branch
Michael Snyder 18 years ago
parent
commit
244e85c8df
  1. 6
      gdb/ChangeLog
  2. 2
      gdb/procfs.c
  3. 4
      gdb/target.c
  4. 2
      gdb/win32-nat.c
  5. 2
      gdb/windows-nat.c

6
gdb/ChangeLog

@ -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

2
gdb/procfs.c

@ -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);

4
gdb/target.c

@ -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)

2
gdb/win32-nat.c

@ -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);

2
gdb/windows-nat.c

@ -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…
Cancel
Save