diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2017-03-14 11:14:49 +0100 |
---|---|---|
committer | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2017-03-14 11:14:49 +0100 |
commit | a379284af268ed768674e7f452ca78dad2aaaf55 (patch) | |
tree | c3d998b0fb90042f7f4b2617b99985555c62a392 /binutils | |
parent | 8a6200ba863f207d93467312431d107f50f0e2ab (diff) | |
download | binutils-a379284af268ed768674e7f452ca78dad2aaaf55.zip binutils-a379284af268ed768674e7f452ca78dad2aaaf55.tar.gz binutils-a379284af268ed768674e7f452ca78dad2aaaf55.tar.bz2 |
linux-nat: Exploit /proc/<pid>/mem for writing
So far linux_proc_xfer_partial refused to handle write requests. This is
still based on the assumption that the Linux kernel does not support
writes to /proc/<pid>/mem. That used to be true, but has changed with
Linux 2.6.39 released in May 2011.
This patch lifts this restriction and now exploits /proc/<pid>/mem for
writing to inferior memory as well, if possible.
gdb/ChangeLog:
* linux-nat.c (linux_proc_xfer_partial): Handle write operations
as well.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions