frysk.stepping
Class InstructionStepState

java.lang.Object
  extended by frysk.stepping.State
      extended by frysk.stepping.InstructionStepState

public class InstructionStepState
extends State


Field Summary
private  ElfSectionCache elfCache
           
private  boolean isLine
          Indicates that this is a step (into) line, if true then plt entries are skipped.
private  String PLT_DL_FIXUP
           
 
Fields inherited from class frysk.stepping.State
task
 
Constructor Summary
InstructionStepState(Task task, boolean isLine)
           
 
Method Summary
 State handleUpdate(TaskStepEngine tse)
          When the instruction observer from SteppingEngine returns, a single step has been performed.
 boolean isAlive()
          Returns whether or not this State a Task which has just died.
 boolean isStopped()
          Returns whether or not this State represents a stopped Task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elfCache

private ElfSectionCache elfCache

PLT_DL_FIXUP

private final String PLT_DL_FIXUP
See Also:
Constant Field Values

isLine

private final boolean isLine
Indicates that this is a step (into) line, if true then plt entries are skipped.

Constructor Detail

InstructionStepState

public InstructionStepState(Task task,
                            boolean isLine)
Method Detail

handleUpdate

public State handleUpdate(TaskStepEngine tse)
When the instruction observer from SteppingEngine returns, a single step has been performed. All that is left to do is to reset the State for this Task back to a StoppedState.

Specified by:
handleUpdate in class State
Parameters:
tse - The TaskStepEngine for this State.
Returns:
new StoppedState

isStopped

public boolean isStopped()
Description copied from class: State
Returns whether or not this State represents a stopped Task.

Specified by:
isStopped in class State
Returns:
true If the Task is stopped

isAlive

public boolean isAlive()
Description copied from class: State
Returns whether or not this State a Task which has just died.

Specified by:
isAlive in class State
Returns:
true If the Task is alive