This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
moving frysk.proc.LinuxPtrace* to frysk.proc.ptrace.Linux*
- From: Andrew Cagney <cagney at redhat dot com>
- To: frysk <frysk at sources dot redhat dot com>
- Date: Mon, 14 May 2007 12:47:09 -0400
- Subject: moving frysk.proc.LinuxPtrace* to frysk.proc.ptrace.Linux*
Just an update and heads up to the on-going task of breaking-out the
os-specific code in frysk.proc, moving it to more specialized packages vis:
frysk.proc.dummy - a dummy host - "done"
frysk.proc.corefile - a host built from core-files - "done"
frysk.proc.ptrace - a host built using ptrace(2) calls
For frysk.proc.ptrace, there'll likely soon be some interesting fallout:
-> as WIP have << frysk.proc.ptrace.LinuxHost extend
frysk.proc.LinuxPtraceHost extend frysk.proc.Host >>, (perhaps also
similar for Task and Proc?) so that code can more incrementally be
switched to the new frysk.proc.ptrace package
-> Eliminate methods such as <<abstract void Task.sendAttach()>> from
frysk.proc.Task inlining the implementation into
frysk.proc.ptrace.LinuxTaskState; they assume "ptrace" semantics which
only applies to ptrace
-> Add more manipulation methods, such as proc.reparent(Proc) to
abstract some of the tree manipulation operations
take care,
Andrew