-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attaching gdb from junest, to a process launched outside of junest fails #269
Comments
Can you provide the exact steps that brought you to the error? I can try to reproduce. |
I'll look into my bash history ! |
|
Not all processes can be debugged. Consider that this can happen even if you try using In order to enable ptrace capabilities in junest you'd need to run something like:
I am inclined to use it |
I can debug the process I want with my Pi's /usr/bin/gdb without issues (except that it's too old for the DWARF-5 debug info format used by the app I want to debug) I'll try the ptrace thing, thanks ! |
Cool, thanks. Let me know if that works 🤞 |
In the latest junest change I put |
Hello,
I installed Junest in the hope of being able to use GDB 10 on my raspberry pi (running Debian Buster).
If I run Debian's gdb 8 I can attach to my process.
But if I run under junest's gdb 10.2, then I get a "ptrace: operation not permitted" error.
I tried running under root and junest -f but that did not change anything.
What else could I look at ?
Thanks !
The text was updated successfully, but these errors were encountered: