frysk-core/frysk/hpd AttachCommand.java CLI.ja ...

moore@sourceware.org moore@sourceware.org
Thu Sep 6 12:36:00 GMT 2007


CVSROOT:	/cvs/frysk
Module name:	frysk-core
Changes by:	moore@sourceware.org	2007-09-06 12:36:52

Modified files:
	frysk/hpd      : AttachCommand.java CLI.java ChangeLog 
	                 RunCommand.java 

Log message:
	Simplify synchronization of attaching a process.
	
	2007-09-06  Tim Moore  <timoore@redhat.com>
	* CLI.java (startAttach, finishAttach): Remove. replace with:
	(doAttach): New method that attaches process and waits until it is
	attached, as signalled by the SteppingEngine.
	(update): Signal that process is attached via a CountDownLatch
	instead of notifying threads waiting on the CLI object.
	* AttachCommand.java (update): Remove.
	(handle): Don't register object as a SteppingEngine
	observer. Instead, use cli.doAttach to perform the attach and wait
	for its completion.
	* RunCommand.java (update, handle): ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/AttachCommand.java.diff?cvsroot=frysk&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/CLI.java.diff?cvsroot=frysk&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/ChangeLog.diff?cvsroot=frysk&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/RunCommand.java.diff?cvsroot=frysk&r1=1.7&r2=1.8



More information about the Frysk-cvs mailing list