Lines Matching full:setregs
81 // if == 0, means we have not yet called setregs (or have already
86 // When setregs has been called to change the registers of pid_of_save_regs,
668 Bool setregs (pid_t pid, void *regs, long regs_bsz)
670 DEBUG(1, "setregs regs_bsz %ld\n", regs_bsz);
683 DEBUG(1, "setregs PTRACE_SETREGSET sizeof(elf_regs) %zu\n",
696 // Note : the below is checking for GETREGS, not SETREGS
700 // Platforms having SETREGS
702 // setregs can never be called before getregs has done a runtime check.
704 DEBUG(1, "setregs PTRACE_SETREGS\n");
725 DEBUG(1, "setregs PTRACE_POKEUSER(s) %ld\n", peek_bsz);
759 DEBUG(1, "setregs restore registers pid %d\n", pid_of_save_regs);
760 if (!setregs(pid_of_save_regs, &user_save.regs, sizeof(user_save.regs))) {
761 ERROR(errno, "setregs restore registers pid %d after cont\n",
1074 if (!setregs(pid, &user_mod.regs, sizeof(user_mod.regs))) {