PTRACE_GETREGSET
case PTRACE_GETREGSET:
if (request == PTRACE_GETREGSET) {
if (ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov) < 0)
ret = ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov);
ret = ptrace(PTRACE_GETREGSET, pid, ptrace_regset, &iov);
case PTRACE_GETREGSET:
case PTRACE_GETREGSET:
if (req == PTRACE_GETREGSET)
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS,
ret = ptrace(PTRACE_GETREGSET, child, type, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PRSTATUS, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SVE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SSVE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZA, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZT, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_FPMR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PRFPREG, &iov);
ret = ptrace(PTRACE_GETREGSET, pid, NT_PRFPREG, &iov);
ret = ptrace(PTRACE_GETREGSET, pid, type->regset, &iov);
if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov))
return ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZT, &iov);
if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov))
ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_GCS, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_ARM_POE, &iov);
ret = ptrace(PTRACE_GETREGSET, child, type, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TAR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_PPR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_DSCR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CTAR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CPPR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CDSCR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVMX, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVSX, &iov);
ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_SPR, &iov);
ret = ptrace(PTRACE_GETREGSET, pid, (void *)NT_RISCV_USER_CFI, &iov);
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov));
ret = ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov);
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, &iov));
ASSERT_EQ(0, ptrace(PTRACE_GETREGSET, pid, NT_RISCV_VECTOR, &iov));
if (do_ptrace(PTRACE_GETREGSET, child, NT_RISCV_VECTOR, size, data))
if (do_ptrace(PTRACE_GETREGSET, child, NT_RISCV_VECTOR, size, data))
if (do_ptrace(PTRACE_GETREGSET, child, NT_PRSTATUS, size, data))
ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \
if (ptrace(PTRACE_GETREGSET, pid, NT_X86_SHSTK, &iov)) {
if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov))
if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov))