| 223 | } |
| 224 | |
| 225 | static int |
| 226 | ptrace_write_int(struct thread *td, uintptr_t addr, int v) |
| 227 | { |
| 228 | |
| 229 | if (proc_writemem(td, td->td_proc, addr, &v, sizeof(v)) != sizeof(v)) |
| 230 | return (EFAULT); |
| 231 | return (0); |
| 232 | } |
| 233 | |
| 234 | int |
| 235 | ptrace_single_step(struct thread *td) |
no test coverage detected