This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB] comment fix, corelow.c
- From: Michael Snyder <msnyder at specifix dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 15 Jan 2008 17:16:58 -0800
- Subject: [OB] comment fix, corelow.c
cut and paste botch...
2008-01-15 Michael Snyder <msnyder@specifix.com>
* corelow.c (core_xfer_partial): Comment, cut/paste error.
Index: corelow.c
===================================================================
RCS file: /cvs/src/src/gdb/corelow.c,v
retrieving revision 1.71
diff -u -p -r1.71 corelow.c
--- corelow.c 1 Jan 2008 22:53:09 -0000 1.71
+++ corelow.c 16 Jan 2008 01:15:28 -0000
@@ -520,7 +520,7 @@ core_xfer_partial (struct target_ops *op
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);