ptrace_regset
static unsigned long ptrace_regset;
if (ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov) < 0)
if (ptrace(PTRACE_SETREGSET, pid, ptrace_regset, &iov) < 0)
ptrace_regset = NT_X86_XSTATE;
ret = ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov);
ptrace_regset = NT_PRXFPREG;
ptrace_regset = NT_PRFPREG;
ret = ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov);
ret = ptrace_regset(child, request, addr, &kiov);
ret = ptrace_regset(child, request, addr, &kiov);