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 with recent changes



details:   https://anonhg.NetBSD.org/src/rev/bff3a07078ac
branches:  trunk
changeset: 349593:bff3a07078ac
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Dec 15 12:42:38 2016 +0000

description:
Update TODO.ptrace with recent changes

Hardware assisted breakpoint/watchpoint API has been merged with current.

Add note about pthread_dbg(3) API needed to be refactored and limited to
querying POSIX thread private data fields.

Sponsored by <The NetBSD Foundation>

diffstat:

 doc/TODO.ptrace |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r c2f532b96aa1 -r bff3a07078ac doc/TODO.ptrace
--- a/doc/TODO.ptrace   Thu Dec 15 12:20:39 2016 +0000
+++ b/doc/TODO.ptrace   Thu Dec 15 12:42:38 2016 +0000
@@ -1,8 +1,7 @@
-$NetBSD: TODO.ptrace,v 1.3 2016/12/15 07:47:08 kamil Exp $
+$NetBSD: TODO.ptrace,v 1.4 2016/12/15 12:42:38 kamil Exp $
 
 Items we (currently) plan to finish in the ptrace(2) field:
 
- - merge hardware watchpoint (breakpoint) support with HEAD
  - verify ppid of core dump generated with PT_DUMPCORE
    it must point to the real parent, not tracer
  - adapt OpenBSD regress test (regress/sys/ptrace/ptrace.c) for the ATF context
@@ -21,7 +20,8 @@
  - add support for detecting equivalent events to PTRACE_O_TRACEEXEC,
    PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXIT from Linux
  - exect(3) rething or remove -- maybe PT_TRACE_ME + PTRACE_O_TRACEEXEC?
-   
+ - refactor pthread_dbg(3) to only query private pthread_t data, otherwise it
+   duplicates ptrace(2) interface and cannot cover all types of threads
 
 and of course: fix as many bugs as possible.
 



Home | Main Index | Thread Index | Old Index