Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/doc Update TODO.ptrace
details: https://anonhg.NetBSD.org/src/rev/d9a0fd83dc0e
branches: trunk
changeset: 351219:d9a0fd83dc0e
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Feb 07 16:15:05 2017 +0000
description:
Update TODO.ptrace
Note PT_WATCHPOINT change to PT_*ETDBREGS.
Remove GDB and LLDB related entries from generic ptrace(2) TODO.
Note need for TRAP_SCE and TRAP_SCX si_codes in PT_SYSCALL*.
Note removal request of pthread_dbg(3).
Sponsord by <The NetBSD Foundation>
diffstat:
doc/TODO.ptrace | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diffs (34 lines):
diff -r 2d0f9f67a2ed -r d9a0fd83dc0e doc/TODO.ptrace
--- a/doc/TODO.ptrace Tue Feb 07 16:14:47 2017 +0000
+++ b/doc/TODO.ptrace Tue Feb 07 16:15:05 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO.ptrace,v 1.13 2017/01/26 01:12:13 kamil Exp $
+$NetBSD: TODO.ptrace,v 1.14 2017/02/07 16:15:05 kamil Exp $
Items we (currently) plan to finish in the ptrace(2) field:
@@ -9,20 +9,18 @@
- add new ptrace(2) calls to lock (suspend) and unlock LWP within a process
- add PT_DUMPCORE tests in the ATF framework
- add ATF tests for PT_WRITE_I and PIOD_WRITE_I - test mprotect restrictions
- - once the API for hardware watchpoints will stabilize, document it
+ - switch PT_WATCHPOINT* to PT_*ETDBREGS and document it, add ATF tests
- add tests for the procfs interface covering all functions available on the
same level as ptrace(2)
- add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS
in all ports
- - integrate all ptrace(2) features in gdb
- - add ptrace(2) NetBSD support in LLDB
- add proper implementation of PTRACE_VFORK for vfork(2)-like events
- - remove exect(3) - there is no usecase for it
- - refactor pthread_dbg(3) to only query private pthread_t data, otherwise it
- duplicates ptrace(2) interface and cannot cover all types of threads
+ - remove exect(3) from libc - there is no usecase for it
+ - remove pthread_dbg(3) from the base distribution
- research what happens when a tracee masks signals (including SIGTRAP) and a
breakpoint is triggered
- add ATF tests for SIGCHLD
+ - add si_code values for PT_SYSCALL: TRAP_SCE and TRAP_SCX
- add ATF tests for PT_SYSCALL and PT_SYSCALLEMU
and of course: fix as many bugs as possible.
Home |
Main Index |
Thread Index |
Old Index