[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-users
Subject: Re: Attaching gdb session to a service launched from rc.d
From: christos () astron ! com (Christos Zoulas)
Date: 2019-06-19 13:05:53
Message-ID: qedbvh$10au$1 () blaine ! gmane ! org
[Download RAW message or body]
In article <20190617193112.865a48bd93fe3d0fa17ffaf0@lanvaux.fr>,
Germain Le Chapelain <germain@lanvaux.fr> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic