On Wed, Apr 04, 2007 at 02:16:02PM +0200, Ed Schouten wrote: > Indeed. Looking at sys/ptrace.h, there are a lot of instructions that > aren't documented in the manpage: > > - PT_GETNUMLWPS > - PT_GETLWPLIST [...] Yeah, it's unfortunate that these aren't documented and ptrace seems to be somewhat mysterious. I ran across this while starting to work on switching gcore from procfs to ptrace, in the context of getting it to understand threads. (Procfs provides /proc/pid/regs, which returns only the register set for the first thread in the process. There are other XXXKSE gotchas in the procfs source too.) Ed MasteReceived on Wed Apr 04 2007 - 19:30:02 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC