From 662fb31bbc0c190ce42fc4cb5d1a2f7db1111e6a Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 16 Jan 2008 01:17:24 +0000 Subject: [PATCH] 2008-01-15 Michael Snyder * corelow.c (core_xfer_partial): Comment, cut/paste error. --- gdb/ChangeLog | 4 ++++ gdb/corelow.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index adf0fae0dc7..52c242bd0e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-01-15 Michael Snyder + + * corelow.c (core_xfer_partial): Comment, cut/paste error. + 2008-01-14 Pierre Muller * win32-nat.c (win32_create_inferior): Restore code calling diff --git a/gdb/corelow.c b/gdb/corelow.c index 8fe865af549..be5622199b6 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); -- 2.30.2