diff options
author | Michael Snyder <msnyder@vmware.com> | 2008-01-16 01:17:24 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2008-01-16 01:17:24 +0000 |
commit | 662fb31bbc0c190ce42fc4cb5d1a2f7db1111e6a (patch) | |
tree | 5259e26d838c9072b8212a51f19242634d47f84c | |
parent | 3d00b095ccae5f0958d427a20f653ce4475160b6 (diff) | |
download | gdb-662fb31bbc0c190ce42fc4cb5d1a2f7db1111e6a.zip gdb-662fb31bbc0c190ce42fc4cb5d1a2f7db1111e6a.tar.gz gdb-662fb31bbc0c190ce42fc4cb5d1a2f7db1111e6a.tar.bz2 |
2008-01-15 Michael Snyder <msnyder@specifix.com>
* corelow.c (core_xfer_partial): Comment, cut/paste error.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/corelow.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index adf0fae..52c242b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-01-15 Michael Snyder <msnyder@specifix.com> + + * corelow.c (core_xfer_partial): Comment, cut/paste error. + 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr> * win32-nat.c (win32_create_inferior): Restore code calling diff --git a/gdb/corelow.c b/gdb/corelow.c index 8fe865a..be56221 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -520,7 +520,7 @@ core_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); |