public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* frysk-core/frysk/hpd AttachCommand.java CLI.ja ...
@ 2007-09-06 12:36 moore
  0 siblings, 0 replies; 3+ messages in thread
From: moore @ 2007-09-06 12:36 UTC (permalink / raw)
  To: frysk-cvs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* frysk-core/frysk/hpd AttachCommand.java CLI.ja ...
@ 2007-08-09 17:19 moore
  0 siblings, 0 replies; 3+ messages in thread
From: moore @ 2007-08-09 17:19 UTC (permalink / raw)
  To: frysk-cvs

CVSROOT:	/cvs/frysk
Module name:	frysk-core
Changes by:	moore@sourceware.org	2007-08-09 17:19:30

Modified files:
	frysk/hpd      : AttachCommand.java CLI.java ChangeLog 
	                 CoreCommand.java DebuginfoCommand.java 
	                 GoCommand.java HaltCommand.java 

Log message:
	Remove CLI global variables and load DebugInfo per task
	
	frysk-core/frysk/hpd/ChangeLog
	2007-08-09  Tim Moore  <timoore@redhat.com>
	
	* CLI.java (proc, task, debugInfo, stackLevel): Remove.
	(startAttach, finishAttach): Don't initialize those variables
	anymore.
	(UpDownHandler.handle): Use getTaskStackLevel, setTaskStackLevel
	methods instead of stackLevel variable.
	(parseValue): Remove version without task argument.
	(SteppingObserver.update): Change newFrame variable to frame.
	(getTask, getDebugInfo): Remove methods.
	* DebuginfoCommand.java (handle): Load DebugInfo for all tasks in
	target ptset.
	* AttachCommand.java (handle): Don't set cli proc and task
	variables.
	* CoreCommand (handle): Use per-task interface to set task
	attributes instead of the CLI slots.
	* GoCommand.java (handle): Don't set cli.running.
	* HaltCommand.java (handle): ditto

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/AttachCommand.java.diff?cvsroot=frysk&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/CLI.java.diff?cvsroot=frysk&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/ChangeLog.diff?cvsroot=frysk&r1=1.37&r2=1.38
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/CoreCommand.java.diff?cvsroot=frysk&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/DebuginfoCommand.java.diff?cvsroot=frysk&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/GoCommand.java.diff?cvsroot=frysk&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/HaltCommand.java.diff?cvsroot=frysk&r1=1.2&r2=1.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

* frysk-core/frysk/hpd AttachCommand.java CLI.ja ...
@ 2007-08-09 17:08 moore
  0 siblings, 0 replies; 3+ messages in thread
From: moore @ 2007-08-09 17:08 UTC (permalink / raw)
  To: frysk-cvs

CVSROOT:	/cvs/frysk
Module name:	frysk-core
Changes by:	moore@sourceware.org	2007-08-09 17:08:53

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

Log message:
	Register new and attached processes with the ProcTaskIDManager
	
	frysk-core/frysk/hpd/ChangeLog
	2007-08-08  Tim Moore  <timoore@redhat.com>
	
	* AttachCommand.java (handle): Register process with
	ProcTaskIDManager.
	* CLI.java (attached): Change to integer (PID) type.
	(startAttached): Initialize attached to -1.
	(finishAttached): Wait for attached to go positive.
	(update): Set attached based on the process we get here.
	* CoreCommand.java (handle): Set attached to -1.
	* Detach.java (handle): Set attached to -1.
	* RunCommand.java (update): Don't return early if the task is
	stopped, because that's the state the task is actually in after
	being started. Register process with ProcTaskIDManager.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/AttachCommand.java.diff?cvsroot=frysk&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/CLI.java.diff?cvsroot=frysk&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/ChangeLog.diff?cvsroot=frysk&r1=1.29&r2=1.30
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/CoreCommand.java.diff?cvsroot=frysk&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/DetachCommand.java.diff?cvsroot=frysk&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/hpd/RunCommand.java.diff?cvsroot=frysk&r1=1.2&r2=1.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-06 12:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-06 12:36 frysk-core/frysk/hpd AttachCommand.java CLI.ja moore
  -- strict thread matches above, loose matches on Subject: below --
2007-08-09 17:19 moore
2007-08-09 17:08 moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).