This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ongoing frysk.proc.ptrace refactoring


Just a work-in-progress update:

While I've finished restructuring the target specific frysk.proc code into separate frysk.proc.corefile, frysk.proc.dummy and frysk.proc.ptrace packages there's still a ways to go as the refactoring has helped clarify several additional problems with the current code:

-> frysk.proc.Proc and frysk.proc.Task seem to have gained a number of fields, such as Task.sig_send, that are very Linux/ptrace centric; the'll need to be cleaned up

-> many of the methods, such as frysk.proc.Task.sendContinue, being ptrace specific (they do not apply to a corefile proc), can be moved to more specific packages

-> rather than split along the lines of "corefile" and "ptrace", a better split might be "dead" (you can query a dead proc) and "live" (or stateful) (you can observe a live proc), re-consider that once the more pressing issues are addressed

I'll be continuing with this.

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]