| @@ -1,20 +1,21 @@ | | | @@ -1,20 +1,21 @@ |
1 | $NetBSD: TODO.ptrace,v 1.12 2017/01/26 01:04:23 kamil Exp $ | | 1 | $NetBSD: TODO.ptrace,v 1.13 2017/01/26 01:12:13 kamil Exp $ |
2 | | | 2 | |
3 | Items we (currently) plan to finish in the ptrace(2) field: | | 3 | Items we (currently) plan to finish in the ptrace(2) field: |
4 | | | 4 | |
5 | - verify ppid of core dump generated with PT_DUMPCORE | | 5 | - verify ppid of core dump generated with PT_DUMPCORE |
6 | it must point to the real parent, not tracer | | 6 | it must point to the real parent, not tracer |
7 | - adapt OpenBSD regress test (regress/sys/ptrace/ptrace.c) for the ATF context | | 7 | - adapt OpenBSD regress test (regress/sys/ptrace/ptrace.c) for the ATF context |
| | | 8 | - reiterate over FreeBSD tests and add missing ones if applicable |
8 | - add new ptrace(2) calls to lock (suspend) and unlock LWP within a process | | 9 | - add new ptrace(2) calls to lock (suspend) and unlock LWP within a process |
9 | - add PT_DUMPCORE tests in the ATF framework | | 10 | - add PT_DUMPCORE tests in the ATF framework |
10 | - add ATF tests for PT_WRITE_I and PIOD_WRITE_I - test mprotect restrictions | | 11 | - add ATF tests for PT_WRITE_I and PIOD_WRITE_I - test mprotect restrictions |
11 | - once the API for hardware watchpoints will stabilize, document it | | 12 | - once the API for hardware watchpoints will stabilize, document it |
12 | - add tests for the procfs interface covering all functions available on the | | 13 | - add tests for the procfs interface covering all functions available on the |
13 | same level as ptrace(2) | | 14 | same level as ptrace(2) |
14 | - add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS | | 15 | - add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS |
15 | in all ports | | 16 | in all ports |
16 | - integrate all ptrace(2) features in gdb | | 17 | - integrate all ptrace(2) features in gdb |
17 | - add ptrace(2) NetBSD support in LLDB | | 18 | - add ptrace(2) NetBSD support in LLDB |
18 | - add proper implementation of PTRACE_VFORK for vfork(2)-like events | | 19 | - add proper implementation of PTRACE_VFORK for vfork(2)-like events |
19 | - remove exect(3) - there is no usecase for it | | 20 | - remove exect(3) - there is no usecase for it |
20 | - refactor pthread_dbg(3) to only query private pthread_t data, otherwise it | | 21 | - refactor pthread_dbg(3) to only query private pthread_t data, otherwise it |