2008-01-15 Michael Snyder <msnyder@specifix.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 16 Jan 2008 01:17:24 +0000 (01:17 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 16 Jan 2008 01:17:24 +0000 (01:17 +0000)
* corelow.c (core_xfer_partial): Comment, cut/paste error.

gdb/ChangeLog
gdb/corelow.c

index adf0fae0dc7b92de3dc71a1688d975ae302a2db7..52c242bd0e1b0446442fffd707ad05869b10f176 100644 (file)
@@ -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
index 8fe865af54920a5ba8eea046e886209fc8f0e8bc..be5622199b647117759781d2729eafa9f2a08ede 100644 (file)
@@ -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);