summaryrefslogtreecommitdiffstats
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2008-01-25 00:09:50 +0000
committerMichael Snyder <msnyder@vmware.com>2008-01-25 00:09:50 +0000
commit244e85c8dfd6144c3db4648dc9c9c5b569067d49 (patch)
tree4e5499b67ec33170b36b7fd43c61c06228826d07 /gdb/windows-nat.c
parentd6e07b52b72e05236ef438f4ca6787858ffcc32c (diff)
downloadppe42-binutils-244e85c8dfd6144c3db4648dc9c9c5b569067d49.tar.gz
ppe42-binutils-244e85c8dfd6144c3db4648dc9c9c5b569067d49.zip
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.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 061430b74d..954a597781 100644
--- a/gdb/windows-nat.c
+++ b/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);
OpenPOWER on IntegriCloud