Re: Can't attach gdb to cwm

2022-03-10 Thread Rob Whitlock
On Thu, Mar 10, 2022 at 1:01 PM Rob Whitlock wrote: > On Wed, Mar 9, 2022 at 11:20 PM Philip Guenther > wrote: > >> On Wed, Mar 9, 2022 at 8:28 AM Rob Whitlock >> wrote: >> >>> I'm trying to attach gdb to an already running cwm but I get the >>> following >>> error: >>> >>> ptrace: Invalid

Re: Can't attach gdb to cwm

2022-03-10 Thread Rob Whitlock
On Wed, Mar 9, 2022 at 11:20 PM Philip Guenther wrote: > On Wed, Mar 9, 2022 at 8:28 AM Rob Whitlock wrote: > >> I'm trying to attach gdb to an already running cwm but I get the following >> error: >> >> ptrace: Invalid argument. >> >> Why am I getting this error? Also, I have already set >>

Re: Can't attach gdb to cwm

2022-03-09 Thread Philip Guenther
On Wed, Mar 9, 2022 at 8:28 AM Rob Whitlock wrote: > I'm trying to attach gdb to an already running cwm but I get the following > error: > > ptrace: Invalid argument. > > Why am I getting this error? Also, I have already set kern.global_ptrace=1, > and both cwm and gdb are being run by the same

Can't attach gdb to cwm

2022-03-09 Thread Rob Whitlock
I'm trying to attach gdb to an already running cwm but I get the following error: ptrace: Invalid argument. Why am I getting this error? Also, I have already set kern.global_ptrace=1, and both cwm and gdb are being run by the same user. This problem occurs both with the gdb in base and the