This is the mail archive of the frysk-cvs@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]

frysk-core/frysk gui/srcwin/ChangeLog gui/srcw ...


CVSROOT:	/cvs/frysk
Module name:	frysk-core
Changes by:	mcvet@sourceware.org	2007-04-08 06:14:24

Modified files:
	frysk/gui/srcwin: ChangeLog SourceWindow.java SourceView.java 
	frysk/rt       : TestRunState.java ChangeLog RunState.java 
	                 TestStepping.java 
	frysk/cli/hpd  : CLI.java 
	frysk/cli      : ChangeLog 

Log message:
	frysk-core/frysk/rt:
	2007-04-08  Mike Cvet  <mcvet@redhat.com>
	
	* RunState.java (contextMap): Added.
	(numRunningTasks): Removed.
	(state): Removed.
	(stateMap): Added. Allows finer-grained Task control.
	(RunState): Initialize contextMap and new synchronized stateMap.
	(setUp): Takes an int state parameter. Records the state of each
	Task passing through this method as defined by int parameter.
	(setUpLineStep): Check state of requested Task before proceeding.
	Set Task-specific states.
	(stepInstruction): Ditto.
	(setUpLineStep): Check to see if any Tasks belonging to the List
	parameter are not stopped.
	(stepInstruction): Ditto. Set Task-specific states.
	(setUpNextInstruction): Set Task-specific states.
	(stepNextInstruction): Ditto.
	(setUpStepOver): Ditto.
	(stepOver): Ditto.
	(setUpStepOut): Ditto.
	(stepOut): Ditto.
	(stepUpStepAdvance): Ditto.
	(stepCompleted): Removed.
	(runCompleted): Ditto.
	(decNumRunningTasks): Ditto.
	(getNumRunningTasks): Ditto.
	(setNumRunningTasks): Ditto.
	(setState): Ditto.
	(continueExecution): Insert into context map the number of threads
	designated as running by process. Mark state of each thread
	individually as running.
	(stop): Renamed first parameter. Resets current process index.
	(executeTasks): Removed references to global state int. Mark individual
	Task states and number of running Tasks to their Proc in context map.
	(setRunning): Takes List of Tasks as parameter, sets states to running.
	(getState): Takes Task parameter, returns state of that Task.
	(isProcRunning): Added. Returns true if any of the given Tasks are
	running, as defined by RunState.
	(setProc): Mark individual Tasks as running, insert number of running
	Tasks for process into context map.
	(setProcs): Ditto.
	(addProc): Insert number of running Tasks for new process into context
	map.
	(updateExecuted): Grab state of incoming Task out of stateMap. Update
	stored state of Task. Update number of running Tasks for its Proc.
	(PersistentBreakpoint.updateHit): Check state of incoming Task.	Update
	number of running Tasks for its process.
	* TestRunState.java (stepAssertions): Removed calls to
	RunState.stepCompleted().
	* TestStepping.java (testStepSigLongJmp): Marked broken for #4289.
	(assertions): Removed call to RunState.stepCompleted().
	
	frysk-gui/frysk/gui/srcwin:
	2007-04-08  Mike Cvet  <mcvet@redhat.com>
	
	* SourceWindow.java (SourceWindow): Update call to
	RunState.setRunning().
	(finishSourceWin): Update switch call to RunState.getState() to
	getTaskState() and isProcRunning().
	(populateStackBrowser): Ditto.
	(procReblocked): Removed calls to RunState.runCompleted() and
	stepCompleted().
	(getState): Added. Returns state of currently-selected Task.
	(updateShownStackFrame): Checks current sensitivity of SourceWindow
	versus state of requested Task; enables functionality if it won't break
	anything. Sets title for SourceWindow if switching to a running process
	and desensitizes as necessary.
	(generateProcStackTrace): Changed RunState.getState() to
	isProcRunning().
	* SourceView.java (mouseMotionEvent): Changed RunState.getState() to
	SourceWindow.getState().
	
	frysk-core/frysk/hpd:
	2007-04-08  Mike Cvet  <mcvet@redhat.com>
	
	* hpd/CLI.java (RunStateObserver.update): Updated calls to
	RunState.getState() to getTaskState(Task).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/ChangeLog.diff?cvsroot=frysk&r1=1.436&r2=1.437
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/SourceWindow.java.diff?cvsroot=frysk&r1=1.214&r2=1.215
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/SourceView.java.diff?cvsroot=frysk&r1=1.49&r2=1.50
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/rt/TestRunState.java.diff?cvsroot=frysk&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/rt/ChangeLog.diff?cvsroot=frysk&r1=1.190&r2=1.191
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/rt/RunState.java.diff?cvsroot=frysk&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/rt/TestStepping.java.diff?cvsroot=frysk&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/cli/hpd/CLI.java.diff?cvsroot=frysk&r1=1.50&r2=1.51
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/cli/ChangeLog.diff?cvsroot=frysk&r1=1.90&r2=1.91


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