On 26.11.2016 04:31, Kamil Rytarowski wrote: > On 22.11.2016 07:05, Kamil Rytarowski wrote: >> >> On 21.11.2016 05:23, Kamil Rytarowski wrote: >> [...] >>> My plan for the coming days: >>> >>> A. Add introductory man-pages for pthread_dbg, currently just for the >>> used functions in the existing ATF tests, as other interfaces might be >>> altered later... or just dropped as unneeded. This library keeps having >>> dept from Scheduler Activation times, and that shall be just revamped. >>> >> >> I consider this finished (as in good enough for now). I switch to CPU >> (amd64) debug registers tomorrow. >> >> I plan to keep verifying and improving pthread_dbg(3) later during work >> on LLDB. >> >>> B. Implement debug registers, base this code on FreeBSD. Add ATF tests, >>> commit to master repository. >>> >>> C. Implement locally PT_SUSPEND and keep it on a local branch. >>> >>> D. Implement locally PTRACE_VFORK (right now just for calling vfork(2) >>> and for creating a child) and keep it on a local branch. >>> >>> ... switch to LLDB >>> >> > > I would trade PT_SUSPEND and PTRACE_VFORK for now for more extensive > implementation of cpu debug registers on x86 - for i386 and amd64 at > once. It's more invasive than I estimated and since it's started I will > finish it. > > C. & D. weren't planned to be committed before implementing in lldb anyway. >
I've published internally draft for debug registers on amd64 and I'm working towards finalization of it. I need to add amd64 (and i386) specific CPU Debug registers tests in ATF. Once committed to src I will publish a summary on the TNF blog.
Description: OpenPGP digital signature