frysk.proc
Interface TaskObserver.Code

All Superinterfaces:
Observer, TaskObserver
All Known Implementing Classes:
Breakpoint, Breakpoint.PersistentBreakpoint, fstep
Enclosing interface:
TaskObserver

public static interface TaskObserver.Code
extends TaskObserver

Interface used to notify of a Task that the task's execution has reached a specific point in the code address space.


Nested Class Summary
 
Nested classes/interfaces inherited from interface frysk.proc.TaskObserver
TaskObserver.Cloned, TaskObserver.Code, TaskObserver.Execed, TaskObserver.Forked, TaskObserver.Instruction, TaskObserver.Signaled, TaskObserver.Syscalls, TaskObserver.Terminated, TaskObserver.Terminating, TaskObserver.Watch
 
Method Summary
 Action updateHit(Task task, long address)
          The task has hit the breakpoint.
 
Methods inherited from interface frysk.proc.Observer
addedTo, addFailed, deletedFrom
 

Method Detail

updateHit

Action updateHit(Task task,
                 long address)
The task has hit the breakpoint. Return Action.BLOCK to block the task's further execution. Note that all Tasks of a Proc share their breakpoints, so this method needs to check the actual Task that got hit.