Bug 4605 - Turn SteppingEngine into a dynamic object
Summary: Turn SteppingEngine into a dynamic object
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
Depends on:
Blocks: 3346
  Show dependency treegraph
Reported: 2007-06-08 14:26 UTC by Mike Cvet
Modified: 2007-06-09 16:01 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cvet 2007-06-08 14:26:26 UTC
... instead of the static model it is now.
Comment 1 Mike Cvet 2007-06-09 16:01:05 UTC
2007-06-09  Mike Cvet  <mcvet@redhat.com>

	* SteppingEngine.java: Turned into dynamic class. Fixes #4605.
	(SteppingEngine): Added. Empty constructor to inialize class data
	structures, Proc array constructor to initialize class Procs, Proc 
	array and Observer constructor to add class Observer before 
	(init): Added. Initializes ThreadLifeObservable and adds
	SteppingObserver to Procs.
	* Breakpoint.java (Breakpoint): Now takes a SteppingEngine for
	(steppingEngine): New field.
	(PersistentBreakpoint): Takes SteppingEngine for initialization.
	(getTaskPersistentBreakpoint): Temporarily removed.
	* BreakpointManager.java: General fixups for dynamic SteppingEngine.
	(BreakpointManager): Takes a SteppingEngine Object for initialization.
	(steppingEngine): New field.
	* SourceBreakpoint.java (enableBreakpoint): Takes a SteppingEngine.
	(disableBreakpoint): Ditto.
	* TaskStepEngine.java (steppingEngine): New field. Represents parent
	SteppingEngine object.
	(getSteppingEngine): Added.
	* TestDisplayValue.java: Fixups for new dynamic SteppingEngine.
	* TestStackBacktrace.java: Ditto.
	* TestStepping.java: Ditto.
	* TestSteppingEngine.java: Ditto.
	* states/LineStepState.java: Ditto.
	* states/NextInstructionStepState.java: Ditto.
	* states/NextInstructionStepTestState.java: Ditto.
	* states/StepAdvanceState.java: Ditto.
	* states/StepOutState.java: Ditto.
	* states/StepOverState.java: Ditto.
	* states/StepOverTestState.java: Ditto.

2007-06-09  Mike Cvet  <mcvet@redhat.com>

	* CLI.java: Fixups for new dynamic SteppingEngine class.
	(steppingEngine): New field.
	(getSteppingEngine): Added.
	* ActionsCommand.java: Fixups for new dynamic SteppingEngine class.
	* BreakpointCommand.java: Ditto.
	* DeleteCommand.java: Ditto.
	* DetachCommand.java: Ditto.
	* DisableCommand.java: Ditto.
	* EnableCommand.java: Ditto.
	* GoCommand.java: Ditto.
	* HaltCommand.java: Ditto.
	* RunCommand.java: Ditto.
	* StepCommand.java: Ditto.
	* StepInstructionCommand.java: Ditto.

2007-06-09  Mike Cvet  <mcvet@redhat.com>

	* disassembler/DisassemblyWindowFactory.java: General fixups for new
	dynamic SteppingEngine class.
	(seMap): Added.
	* memory/MemoryWindowFactory.java: Ditto.
	* register/RegisterWindowFactory.java: Ditto.

2007-06-09  Mike Cvet  <mcvet@redhat.com>

	* actions/ShowMemWin.java (execute): Calls factory with new 
	SteppingEngine object parameter.
	* actions/ShowRegWin.java (execute): Ditto.

2007-06-09  Mike Cvet  <mcvet@redhat.com>

	* SourceWindowFactory.java: General fixups for new dynamic
	SteppingEngine class.
	* SourceWindow.java (steppingEngine): New field.
	(SourceWindow): Deal with SteppingEngine member variable instead of
	static class.
	(finishSourceWin): Ditto.
	(populateStackBrowser): Ditto.
	(removeProc): Ditto.
	(createActions): Ditto.
	(updateShownStackFrame): Ditto.
	(generateProcStackTrace): Ditto.
	(LockObserver.update): Ditto.
	(getSteppingEngine): Added.
	(toggleRegisterWindow): Create RegisterWindow with steppingEngine
	member variable as parameter.
	(toggleMemoryWindow): Ditto.
	(toggleDisassemblyWindow): Ditto.
	* SourceView.java (clickedOnMargin): Temporarily disabled breakpoints
	from margin clicks.