aboutsummaryrefslogtreecommitdiff
path: root/gprof/gen-c-prog.awk
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2022-07-21 19:11:16 +0100
committerPedro Alves <pedro@palves.net>2022-07-26 19:25:30 +0100
commit1bcb0708f22956d5128a2e75df6eba5a18327892 (patch)
tree3b41c83c81cf4baf68c846fb030dd97e81b1a2b1 /gprof/gen-c-prog.awk
parentecbff28a4457d0ebe11023fa9671d62251e7463d (diff)
downloadgdb-1bcb0708f22956d5128a2e75df6eba5a18327892.zip
gdb-1bcb0708f22956d5128a2e75df6eba5a18327892.tar.gz
gdb-1bcb0708f22956d5128a2e75df6eba5a18327892.tar.bz2
gdb/linux-nat: Check whether /proc/pid/mem is writable
Probe whether /proc/pid/mem is writable, by using it to write to a GDB variable. This will be used in the following patch to avoid falling back to writing to inferior memory with ptrace if /proc/pid/mem _is_ writable. Change-Id: If87eff0b46cbe5e32a583e2977a9e17d29d0ed3e
Diffstat (limited to 'gprof/gen-c-prog.awk')
0 files changed, 0 insertions, 0 deletions