[PATCH] Patch 2 of 2 for aarch64 ILP32 support in gdb
Yao Qi
qiyaoltc@gmail.com
Thu Feb 2 09:52:00 GMT 2017
On 17-02-01 16:39:56, Steve Ellcey wrote:
> It looks like I am having a problem with ptrace. Â From gdb.log:
>
> Attaching to program: /home/ubuntu/sellcey/gdb-std/obj/binutils/gdb/testsuite/outputs/gdb.base/attach/attach, process 7631
> ptrace: Operation not permitted.
Hi Steve,
This is a common ptrace attach permission issue. You can
"echo 0 > /proc/sys/kernel/yama/ptrace_scope" or modify it in some config
file /etc/sysctl.d/10-ptrace.conf (different distro may have different
path).
--
Yao (é½å°§)
More information about the Gdb-patches
mailing list