public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Use the LinuxPtraceHosts's task table.
Date: Thu, 21 Feb 2008 04:42:00 -0000	[thread overview]
Message-ID: <20080221044201.24502.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2008-02-21  4:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080221044201.24502.qmail@sourceware.org \
    --to=cagney@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).