* procfs.c (procfs_xfer_partial): Use WRITEBUF instead of READBUF
when writing to memory.
This commit is contained in:
parent
7785be14ef
commit
998bdd68ff
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
|
||||||
|
|
||||||
* m32r-tdep.c (m32r_use_struct_convention): Delete function.
|
* m32r-tdep.c (m32r_use_struct_convention): Delete function.
|
||||||
|
|
|
@ -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*/,
|
return (*ops->to_xfer_memory) (offset, readbuf, len, 0/*write*/,
|
||||||
NULL, ops);
|
NULL, ops);
|
||||||
if (writebuf)
|
if (writebuf)
|
||||||
return (*ops->to_xfer_memory) (offset, readbuf, len, 1/*write*/,
|
return (*ops->to_xfer_memory) (offset, writebuf, len, 1/*write*/,
|
||||||
NULL, ops);
|
NULL, ops);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue