NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Attaching gdb session to a service launched from rc.d
In article <20190617193112.865a48bd93fe3d0fa17ffaf0%lanvaux.fr@localhost>,
Germain Le Chapelain <germain%lanvaux.fr@localhost> wrote:
>
>I'm still experiencing problems with attaching a process to a service from rc.d:
>
>What happens often is I am seeing three threads in my process, however
>thread #1 and #2 are identical (and should be 2, perhaps ?)
>
>I was doubting my own code, but I check a local variable and it shows at
>the same address,
>
man 7 sysctl and check
security.pax.mprotect.ptrace integer yes
Perhaps this is causing the issue (can't set breakpoints without it).
christos
Home |
Main Index |
Thread Index |
Old Index