- User Since
- Jun 21 2021, 5:10 AM (14 w, 1 d)
Mon, Sep 6
After our previous discussions, I have modified the patch.
Changed the error message to be more informative, and added things,
based on the previous review.
added logic to report ptrace related error only if ptrace policy
was the actual reason for failure. i.e. by reading the value of
/proc/sys/kernel/yama/ptrace_scope file if it exists, and setting the
ptrace error only if the value is not 0.
Sat, Sep 4
moved the error message building logic to Target::Attach()
where the ptrace policy related mesasge gets appended only
if the debugee process is running on LinuxOS
Jul 21 2021
Thanks : ) !
Thanks a lot for passing on this knowledge.
Jul 17 2021
reformatted code to comply with pre-merge checks
realigned patch against main branch
changed the code-styling to comply with pre-merge checks.
This patch is supposed to fix this Bug : 39166
I compiled the code and used the binary with local/remote debugging scenarios. On attach failure this is the output it produces :-