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-gui/frysk gui/srcwin/ChangeLog gui/srcwi ...


CVSROOT:	/cvs/frysk
Module name:	frysk-gui
Changes by:	mcvet@sourceware.org	2007-03-30 20:00:39

Modified files:
	frysk/gui/srcwin: ChangeLog CurrentStackView.java 
	                  StepDialog.java SourceView.java 
	                  ThreadSelectionDialog.java 
	                  SourceWindowFactory.java SourceWindow.java 
	frysk/gui/disassembler: DisassemblyWindowFactory.java 
	frysk/cli/hpd  : CLI.java 
	frysk/rt       : RunState.java ChangeLog 
	frysk/util     : ChangeLog FCatch.java 
	frysk/bindir   : fcatch.java ChangeLog 
	frysk/cli      : ChangeLog 
	frysk/gui/register: RegisterWindowFactory.java 
	frysk/gui/druid: CreateFryskSessionDruid.java 
	frysk/gui      : ChangeLog 
	frysk/gui/memory: MemoryWindowFactory.java 

Log message:
	frysk-core/frysk/bindir:
	2007-03-30  Mike Cvet  <mcvet@redhat.com>
	
	* fcatch.java (argString): Now a StringBuffer.
	(.notifyFile): Append all arguments into above StringBuffer.
	Fixes #4300.
	(.run): Split StringBuffer over spaces into array for FCatch.
	(.parsed): Append PID into above StringBuffer.
	
	frysk-core/frysk/util:
	2007-03-30  Mike Cvet  <mcvet@redhat.com>
	
	* FCatch.java (generateProcStackTrace): Remove System.exit().
	(handleTask): Changed to stdout instead of stderr.
	(CatchObserver.updateAttached): set numTasks here.
	
	frysk-core/frysk/rt:
	2007-03-30  Mike Cvet  <mcvet@redhat.com>
	
	* RunState.java (tasks): Turned into an array, representing threads
	for multiple processes. Addresses #4214.
	(continueExecution): Set the current process index.
	(stop): Added extra parameter, Tasks to be blocked. Call
	requestAdd() with explicit Task list parameter. Sets current
	process index.
	(setProc): Set number of running tasks. Properly use new global
	Task array. Sets current process index to 0.
	(setProcs): Added. Installs the RunState on an Array of Procs.
	(getNumTasks): Return the number of tasks for selected Proc.
	(removeObserver): Added Proc paramter; use it to check its own
	blockers list, before continuing Tasks.
	(addFailed): Cast Object parameter to Proc to unblock, instead of
	global stateProc. Removed System.exit() call.
	(requestAdd): Removed, no longer overloads requestAdd(LinkedList).
	(requestAdd): Don't set the number of running tasks or current Tasks
	list. Removed System.exit() call. Explicitly add RunState to each Task.
	(requestAddObservers): Removed.
	(blockTasks): Block Tasks belonging to currently-used Proc.
	
	frysk-core/frysk/cli:
	2007-03-30  Mike Cvet  <mcvet@redhat.com>
	
	* CLI.java (DetachHandler.handle): Updated call to
	RunState.removeObserver to include Proc parameter.
	(HaltHandler.handle): Update call to RunState.stop to
	include Task list parameter.
	
	frysk-gui/frysk/gui/srcwin:
	2007-03-30  Mike Cvet  <mcvet@redhat.com>
	
	* SourceWindow.java (dom): Now an array. Addresses #4214.
	(swProc): Ditto.
	(frames): Now a two-dimensional array. Proc x Task.
	(current): Added. Process array index integer.
	(numProcs): Added. Number of processes currently maintained by
	the SourceWindow.
	(SourceWindow): New constructor. Takes an array of Procs.
	(SourceWindow): Other two constructors - edit to properly use
	new global arrays for DOM, Procs, and StackFrames.
	(finishSourceWin): Fill up entire StackFrame 2D array. Removed RunState
	state check before calling populateStackBrowser.
	(populatStackBrowser): Now takes 2D array. Takes into account new
	arrays for #4214. Call updateShownStackFrame() with current process
	index.
	(setSwProc): Removed.
	(updateShownStackFrame): Takes new int parameter - new process index.
	If DOMSource can't be resolved from the StackFrame Lines, add it into
	the DOM and re-try. Set the global process index.
	(removeTags): Only untag current process.
	(createTags): Only tag current process.
	(doStop): Use Proc array; send in Task list to RunState.
	(doContinue): Use Proc array.
	(toggleRegisterWindow): Ditto.
	(toggleMemoryWindow): Ditto.
	(toggleDisassemblyWindow): Ditto.
	(getProcIsa): Ditto.
	(generateProcStackTrace): Now only takes a Task LinkedList parameter.
	More intelligently setup variables for stack tracing. Set up DOM for
	current process only.
	(currentStackChanged): Takes process index integer parameter. Calls
	updated updateShownStackFrame().
	(LockObserver.update): Flipped if statement; handle process array.
	* CurrentStackView.java (StackViewListener): Set currentStackChanged
	to accept int parameter.
	(stackArray): Added.
	(CurrentStackView): Takes 2D array.
	(refreshProc): Added. Instead of dumping the TreeModel; selectively
	replaces rows corresponding to Proc index parameter. Adjusts model
	length as necessary.
	(buildTree): Rewritten. Now three levels of rows; Proc, Task, StackFrame.
	(selectRow): Updated to grab appropriate StackFrame row.
	(selectionChangedEvent): Updated to use new model. Ignores request if
	request was not a StackFrame row.
	* SourceView.java (drawMargin): Make sure SourceBuffer.isLineBroken()
	and .isLineExecutable are temporarily disabled.
	* SourceWindowFactory.java (createSourceWindow): Removed redundant
	HashMap access.
	(createSourceWindow): Added - Takes a Proc array. Creates a SourceWindow
	with multiple processes; keeps track of all processes to the SourceWindow
	in the HashMap.
	(SourceWinListener.lifeCycleQuery): Update call to RunState.removeObserver
	to include Proc.
	* StepDialog.java (model): Added.
	(setType): Now will update listed Tasks if the observed process has
	changed since last call.
	* ThreadSelectionDialog.java (stopTasks): Added. List of Tasks to be
	blocked.
	(grabTasks): Update stopTasks.
	(getStopTasks): Added.
	
	frysk-gui/frysk/gui:
	2007-03-30  Mike Cvet  <mcvet@redhat.com>
	
	* druid/CreateFryskSessionDruid.java (.buttonEvent): Updated to build
	array of selected processes to send to SourceWindowFactory, for #4214.
	* DisassemblyWindowFactory.java (.lifeCycleQuery): Update call to
	RunState.removeObserver to include observed process.
	* MemoryWindowFactory.java (.lifeCycleQuery): Ditto.
	* RegisterWindowFactory.java (.lifeCycleQuery): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/ChangeLog.diff?cvsroot=frysk&r1=1.423&r2=1.424
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/CurrentStackView.java.diff?cvsroot=frysk&r1=1.33&r2=1.34
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/StepDialog.java.diff?cvsroot=frysk&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/SourceView.java.diff?cvsroot=frysk&r1=1.48&r2=1.49
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/ThreadSelectionDialog.java.diff?cvsroot=frysk&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/SourceWindowFactory.java.diff?cvsroot=frysk&r1=1.93&r2=1.94
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/SourceWindow.java.diff?cvsroot=frysk&r1=1.205&r2=1.206
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/disassembler/DisassemblyWindowFactory.java.diff?cvsroot=frysk&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/cli/hpd/CLI.java.diff?cvsroot=frysk&r1=1.49&r2=1.50
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/rt/RunState.java.diff?cvsroot=frysk&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/rt/ChangeLog.diff?cvsroot=frysk&r1=1.187&r2=1.188
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/util/ChangeLog.diff?cvsroot=frysk&r1=1.106&r2=1.107
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/util/FCatch.java.diff?cvsroot=frysk&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/bindir/fcatch.java.diff?cvsroot=frysk&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/bindir/ChangeLog.diff?cvsroot=frysk&r1=1.68&r2=1.69
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/cli/ChangeLog.diff?cvsroot=frysk&r1=1.86&r2=1.87
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/register/RegisterWindowFactory.java.diff?cvsroot=frysk&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/druid/CreateFryskSessionDruid.java.diff?cvsroot=frysk&r1=1.62&r2=1.63
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/ChangeLog.diff?cvsroot=frysk&r1=1.484&r2=1.485
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/memory/MemoryWindowFactory.java.diff?cvsroot=frysk&r1=1.16&r2=1.17


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