aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.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/procfs.c
parentd6e07b52b72e05236ef438f4ca6787858ffcc32c (diff)
downloadbinutils-244e85c8dfd6144c3db4648dc9c9c5b569067d49.zip
binutils-244e85c8dfd6144c3db4648dc9c9c5b569067d49.tar.gz
binutils-244e85c8dfd6144c3db4648dc9c9c5b569067d49.tar.bz2
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/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 1c80e19..bde710a 100644
--- a/gdb/procfs.c
+++ b/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);