]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* procfs.c (procfs_xfer_partial): Use WRITEBUF instead of READBUF
authorMark Kettenis <kettenis@gnu.org>
Tue, 5 Oct 2004 11:24:21 +0000 (11:24 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 5 Oct 2004 11:24:21 +0000 (11:24 +0000)
when writing to memory.

gdb/ChangeLog
gdb/procfs.c

index e63108991a76b5f27c35219022d4e165d2b98402..c48e3d05fe1c03a3e534fa1a630995be3e7d1588 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-05  Mark Kettenis  <kettenis@jive.nl>
+
+       * procfs.c (procfs_xfer_partial): Use WRITEBUF instead of READBUF
+       when writing to memory.
+
 2004-10-05  Kei Sakamoto  <sakamoto.kei@renesas.com>
 
        * m32r-tdep.c (m32r_use_struct_convention): Delete function.
index 0a1f1528b3abfb4df13314f033ae8c265fb22d85..467135b405475eb1216f18470986b509452ccee5 100644 (file)
@@ -4329,7 +4329,7 @@ procfs_xfer_partial (struct target_ops *ops, enum target_object object,
        return (*ops->to_xfer_memory) (offset, readbuf, len, 0/*write*/,
                                       NULL, ops);
       if (writebuf)
-       return (*ops->to_xfer_memory) (offset, readbuf, len, 1/*write*/,
+       return (*ops->to_xfer_memory) (offset, writebuf, len, 1/*write*/,
                                       NULL, ops);
       return -1;