cvs commit: src/sys/ia64/ia64 ptrace_machdep.c src/sys/ia64/include
marcel at FreeBSD.org
Thu Aug 14 22:41:01 PDT 2003
marcel 2003/08/14 22:40:59 PDT
FreeBSD src repository
Introduce two machine specific ptrace(2) requests: PT_GETKSTACK and
PT_SETKSTACK. These requests allow the tracing process to access the
dirty registers of the traced process that are on the kernel stack.
Note that there's currently no way to access the rnat register for
those dirty registers that are not (yet) covered by a nat collection
point. The interface for this is still being slept on.
Also note that implied by these requests is the division of work:
The tracing process has to keep track of where registers are spilled
and is responsible to figure out where the NaT bit of the stacked
registers are at any time during the execution of the traced process.
The kernel provides the interfaces but will not abstract the fact
that the register stack can be split. This model does not follow
the approach taken in Linux where PT_PEEK and PT_POKE deals with
Revision Changes Path
1.1 +67 -0 src/sys/ia64/ia64/ptrace_machdep.c (new)
1.4 +8 -2 src/sys/ia64/include/ptrace.h
More information about the cvs-src