public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: frysk-core/frysk/proc/dead/ChangeLog
@ 2008-01-04  1:14 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-01-04  1:14 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  152adc77859695a55324b5a4524968bbc5fd3b34 (commit)
      from  ff3454d067b7877424689cc4696b8de7affbc014 (commit)

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

- Log -----------------------------------------------------------------
commit 152adc77859695a55324b5a4524968bbc5fd3b34
Author: Andrew Cagney <cagney@redhat.com>
Date:   Thu Jan 3 20:09:12 2008 -0500

    frysk-core/frysk/proc/dead/ChangeLog
    2008-01-03  Andrew Cagney  <cagney@redhat.com>
    
    	* LinuxExeProcState.java: Delete.
    	* LinuxExeTaskState.java: Delete.

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

Summary of changes:
 frysk-core/frysk/proc/dead/ChangeLog              |    3 +
 frysk-core/frysk/proc/dead/LinuxExeProcState.java |  126 ---------------------
 frysk-core/frysk/proc/dead/LinuxExeTaskState.java |   95 ----------------
 3 files changed, 3 insertions(+), 221 deletions(-)
 delete mode 100644 frysk-core/frysk/proc/dead/LinuxExeProcState.java
 delete mode 100644 frysk-core/frysk/proc/dead/LinuxExeTaskState.java

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/dead/ChangeLog b/frysk-core/frysk/proc/dead/ChangeLog
index 1f1de0f..6a8eed6 100644
--- a/frysk-core/frysk/proc/dead/ChangeLog
+++ b/frysk-core/frysk/proc/dead/ChangeLog
@@ -1,5 +1,8 @@
 2008-01-03  Andrew Cagney  <cagney@redhat.com>
 
+	* LinuxExeProcState.java: Delete.
+	* LinuxExeTaskState.java: Delete.
+
 	* DeadTask.java (requestAddInstructionObserver(TaskObserver.Instruction)): New.
 	(requestDeleteInstructionObserver(TaskObserver.Instruction)): New.
 
diff --git a/frysk-core/frysk/proc/dead/LinuxExeProcState.java b/frysk-core/frysk/proc/dead/LinuxExeProcState.java
deleted file mode 100644
index d09d4ab..0000000
--- a/frysk-core/frysk/proc/dead/LinuxExeProcState.java
+++ /dev/null
@@ -1,126 +0,0 @@
-// This file is part of the program FRYSK.
-//
-// Copyright 2007, Red Hat Inc.
-//
-// FRYSK is free software; you can redistribute it and/or modify it
-// under the terms of the GNU General Public License as published by
-// the Free Software Foundation; version 2 of the License.
-//
-// FRYSK is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-// 
-// You should have received a copy of the GNU General Public License
-// along with FRYSK; if not, write to the Free Software Foundation,
-// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-// 
-// In addition, as a special exception, Red Hat, Inc. gives You the
-// additional right to link the code of FRYSK with code not covered
-// under the GNU General Public License ("Non-GPL Code") and to
-// distribute linked combinations including the two, subject to the
-// limitations in this paragraph. Non-GPL Code permitted under this
-// exception must only link to the code of FRYSK through those well
-// defined interfaces identified in the file named EXCEPTION found in
-// the source code files (the "Approved Interfaces"). The files of
-// Non-GPL Code may instantiate templates or use macros or inline
-// functions from the Approved Interfaces without causing the
-// resulting work to be covered by the GNU General Public
-// License. Only Red Hat, Inc. may make changes or additions to the
-// list of Approved Interfaces. You must obey the GNU General Public
-// License in all respects for all of the FRYSK code and other code
-// used in conjunction with FRYSK except the Non-GPL Code covered by
-// this exception. If you modify this file, you may extend this
-// exception to your version of the file, but you are not obligated to
-// do so. If you do not wish to provide this exception without
-// modification, you must delete this exception statement from your
-// version and license this file solely under the GPL without
-// exception.
-
-package frysk.proc.dead;
-
-import java.util.logging.Level;
-import frysk.proc.ProcState;
-import frysk.proc.Proc;
-import frysk.proc.Observation;
-import frysk.proc.Task;
-
-/**
- * An Executable File Process State
- */
-
-class LinuxExeProcState
-  extends ProcState
-{
-
-  protected LinuxExeProcState (String state)
-  {
-    super (state);
-  }
-  
-  /**
-   * Return the Proc's initial state.
-   *
-   */
-  static ProcState initial (Proc proc)    
-  {
-    logger.log (Level.FINEST, "{0} initial\n", proc); 
-    return detached;
-  }
-  
-  /**
-   * The process is running free (or at least was the last time its
-   * status was checked).
-   */
-  private static final ProcState detached = new ProcState ("detached")
-    {
-      public ProcState handleRefresh (Proc proc)
-      {
-	logger.log (Level.FINE, "{0} handleRefresh\n", proc); 
-	((LinuxExeProc)proc).sendRefresh ();
-	return detached;
-      }
-      public ProcState handleRemoval (Proc proc)
-      {
-	logger.log (Level.FINEST, "{0} handleRemoval\n", proc); 
-	
-	// XXX: Can't remove an executable file Proc, it's there forever
-	// and there is only one proc. Maybe need to have a
-	// destroyed state for compatability?
-	
-	return detached;
-      }
-      public ProcState handleAddObservation (Proc proc,
-				      Observation observation)
-      {
-	logger.log (Level.FINE, "{0} handleAddObserver \n", proc); 
-	
-	// XXX: Fake out for now. What kind of observers would you
-	// put on an executable file? Might need a brain dead
-	// attached state in this scenario for compataibility.
-	return detached;
-	// return Attaching.initialState (proc, observation);
-      }
-      
-      public ProcState handleDeleteObservation (Proc proc,
-					 Observation observation)
-      {
-	logger.log (Level.FINE, "{0} handleDeleteObservation\n", proc); 
-	// Must be bogus; if there were observations then the
-	// Proc wouldn't be in this state.
-	observation.fail (new RuntimeException ("not attached"));
-	return detached;
-      }
-
-      public ProcState handleTaskDetachCompleted (Proc proc, Task task)
-      {
-	return this;
-      }
-      
-      public ProcState handleDetach(Proc proc, boolean shouldRemoveObservers)
-      {
-	return detached;
-      } 
-    };
-}
-
diff --git a/frysk-core/frysk/proc/dead/LinuxExeTaskState.java b/frysk-core/frysk/proc/dead/LinuxExeTaskState.java
deleted file mode 100644
index 2ff3c64..0000000
--- a/frysk-core/frysk/proc/dead/LinuxExeTaskState.java
+++ /dev/null
@@ -1,95 +0,0 @@
-// This file is part of the program FRYSK.
-//
-// Copyright 2007 Red Hat Inc.
-//
-// FRYSK is free software; you can redistribute it and/or modify it
-// under the terms of the GNU General Public License as published by
-// the Free Software Foundation; version 2 of the License.
-//
-// FRYSK is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-// 
-// You should have received a copy of the GNU General Public License
-// along with FRYSK; if not, write to the Free Software Foundation,
-// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-// 
-// In addition, as a special exception, Red Hat, Inc. gives You the
-// additional right to link the code of FRYSK with code not covered
-// under the GNU General Public License ("Non-GPL Code") and to
-// distribute linked combinations including the two, subject to the
-// limitations in this paragraph. Non-GPL Code permitted under this
-// exception must only link to the code of FRYSK through those well
-// defined interfaces identified in the file named EXCEPTION found in
-// the source code files (the "Approved Interfaces"). The files of
-// Non-GPL Code may instantiate templates or use macros or inline
-// functions from the Approved Interfaces without causing the
-// resulting work to be covered by the GNU General Public
-// License. Only Red Hat, Inc. may make changes or additions to the
-// list of Approved Interfaces. You must obey the GNU General Public
-// License in all respects for all of the FRYSK code and other code
-// used in conjunction with FRYSK except the Non-GPL Code covered by
-// this exception. If you modify this file, you may extend this
-// exception to your version of the file, but you are not obligated to
-// do so. If you do not wish to provide this exception without
-// modification, you must delete this exception statement from your
-// version and license this file solely under the GPL without
-// exception.
-
-package frysk.proc.dead;
-
-import java.util.logging.Level;
-import frysk.proc.TaskState;
-import frysk.proc.Task;
-
-/**
- * The core file task state machine.
- */
-
-abstract class LinuxExeTaskState
-  extends TaskState
-{
-
-  /**
-   * Return the initial state of a detached task.
-   */
-  static TaskState detachedState ()
-  {
-    return detached;
-  }
-  
-  /**
-   * Return the initial state of the Main task.
-   */
-  static TaskState initial ()
-  {
-    return detached;
-  }
-
-  protected LinuxExeTaskState (String state)
-  {
-    super (state);
-  }
-  
-  /**
-   * The task isn't attached. Read in from an executable file.
-   */
-  private static final TaskState detached = new TaskState ("detached")
-	{
-	  public TaskState handleRemoval (Task task)
-	  {
-	
-	    // XXX: Executable file tasks are never removed.
-	    logger.log (Level.FINE, "{0} handleRemoval\n", task); 
-	    throw new RuntimeException("Cannot remove corefile tasks");
-	  }
-	  public TaskState handleAttach (Task task)
-	  {
-	    logger.log (Level.FINE, "{0} handleAttach\n", task); 
-	    // XXX: Cannot attach to core file tasks (For now). In the
-	    // future this may change if the concept of attach is meaningful.
-	    throw new RuntimeException("Cannot attach to corefile tasks");
-	  }
-    };
- }


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


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

only message in thread, other threads:[~2008-01-04  1:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-04  1:14 [SCM] master: frysk-core/frysk/proc/dead/ChangeLog 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).