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 gdb/egdb in ports.