public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Use the LinuxPtraceHosts's task table.
@ 2008-02-21  4:42 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-02-21  4:42 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  295806f7d921db258b359b6aab62c7e70018ccff (commit)
      from  ece936fc820e162db4cc1e29e76bc1d2e1658e77 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 295806f7d921db258b359b6aab62c7e70018ccff
Author: Andrew Cagney <cagney@redhat.com>
Date:   Wed Feb 20 23:40:52 2008 -0500

    Use the LinuxPtraceHosts's task table.
    
    frysk-core/frysk/proc/live/ChangeLog
    2008-02-20  Andrew Cagney  <cagney@redhat.com>
    
    	* LinuxPtraceProcState.java: Get the task from the
    	LinuxPtraceHost.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/proc/live/ChangeLog               |    5 +++++
 .../frysk/proc/live/LinuxPtraceProcState.java      |    4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/live/ChangeLog b/frysk-core/frysk/proc/live/ChangeLog
index f38b01c..4beec52 100644
--- a/frysk-core/frysk/proc/live/ChangeLog
+++ b/frysk-core/frysk/proc/live/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-20  Andrew Cagney  <cagney@redhat.com>
+
+	* LinuxPtraceProcState.java: Get the task from the
+	LinuxPtraceHost.
+
 2008-02-20  Phil Muldoon  <pmuldoon@redhat.com>
 
 	* LinuxPtraceProc.java (requestAddWatchObservers): New.
diff --git a/frysk-core/frysk/proc/live/LinuxPtraceProcState.java b/frysk-core/frysk/proc/live/LinuxPtraceProcState.java
index 10e99c9..f22f347 100644
--- a/frysk-core/frysk/proc/live/LinuxPtraceProcState.java
+++ b/frysk-core/frysk/proc/live/LinuxPtraceProcState.java
@@ -44,8 +44,6 @@ import java.util.Collection;
 import java.util.HashSet;
 import frysk.rsl.Log;
 import frysk.proc.Observation;
-import frysk.proc.TaskId;
-import frysk.proc.Manager;
 
 /**
  * A UNIX Process State
@@ -156,7 +154,7 @@ abstract class LinuxPtraceProcState extends State {
 		proc.sendRefresh ();
 	    // Assumes that the main Task's ID == the Proc's ID.
 	    LinuxPtraceTask mainTask
-		= (LinuxPtraceTask)Manager.host.get(new TaskId(proc.getPid()));
+		= ((LinuxPtraceHost)proc.getHost()).getTask(proc.pid);
 	    if (mainTask == null) {
 		// The main task exited and a refresh managed to
 		// update Proc removing it.


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-21  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-21  4:42 [SCM] master: Use the LinuxPtraceHosts's task table cagney

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).