From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20478 invoked by alias); 20 Mar 2008 20:06:32 -0000 Received: (qmail 20444 invoked by uid 9561); 20 Mar 2008 20:06:30 -0000 Date: Thu, 20 Mar 2008 20:06:00 -0000 Message-ID: <20080320200630.20429.qmail@sourceware.org> From: swagiaal@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: swagiaal: Renamed ProcRunUtil to ProcFollowUtil. X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f350349ada366e93c8b09c4d0fd9f8e8f88113b5 X-Git-Newrev: 9fc075eb7a30f68abba9de2a201b56a6a3451481 Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2008-q1/txt/msg00417.txt.bz2 The branch, master has been updated via 9fc075eb7a30f68abba9de2a201b56a6a3451481 (commit) from f350349ada366e93c8b09c4d0fd9f8e8f88113b5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 9fc075eb7a30f68abba9de2a201b56a6a3451481 Author: Sami Wagiaalla Date: Thu Mar 20 16:06:04 2008 -0400 swagiaal: Renamed ProcRunUtil to ProcFollowUtil. frysk-core/frysk/bindir/ChangeLog +2008-03-20 Sami Wagiaalla + + Renamed ProcRunUtil to ProcFollowUtil. + * ferror.java: Updated. + * fstep.java: Updated. + frysk-core/frysk/util/ChangeLog +2008-03-20 Sami Wagiaalla + + * ProcFollowUtil.java: Renamed ProcRunUtil to ProcFollowUtil + * FCatch.java: Updated. + ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/bindir/ChangeLog | 6 ++++++ frysk-core/frysk/bindir/ferror.java | 8 ++++---- frysk-core/frysk/bindir/fstep.java | 8 ++++---- frysk-core/frysk/util/ChangeLog | 5 +++++ frysk-core/frysk/util/FCatch.java | 6 +++--- .../util/{ProcRunUtil.java => ProcFollowUtil.java} | 6 +++--- 6 files changed, 25 insertions(+), 14 deletions(-) rename frysk-core/frysk/util/{ProcRunUtil.java => ProcFollowUtil.java} (98%) First 500 lines of diff: diff --git a/frysk-core/frysk/bindir/ChangeLog b/frysk-core/frysk/bindir/ChangeLog index e440ad8..6f27c50 100644 --- a/frysk-core/frysk/bindir/ChangeLog +++ b/frysk-core/frysk/bindir/ChangeLog @@ -1,3 +1,9 @@ +2008-03-20 Sami Wagiaalla + + Renamed ProcRunUtil to ProcFollowUtil. + * ferror.java: Updated. + * fstep.java: Updated. + 2008-03-20 Andrew Cagney * TestFtrace.java: Use -follow. diff --git a/frysk-core/frysk/bindir/ferror.java b/frysk-core/frysk/bindir/ferror.java index f79b8c2..9800e7a 100644 --- a/frysk-core/frysk/bindir/ferror.java +++ b/frysk-core/frysk/bindir/ferror.java @@ -45,7 +45,7 @@ import frysk.proc.Action; import frysk.proc.Task; import frysk.proc.TaskObserver; import frysk.proc.TaskObserver.Syscalls; -import frysk.util.ProcRunUtil; +import frysk.util.ProcFollowUtil; import gnu.classpath.tools.getopt.Option; import gnu.classpath.tools.getopt.OptionGroup; import gnu.classpath.tools.getopt.OptionException; @@ -81,13 +81,13 @@ public class ferror { stackPrintOptions.setPrintVirtualFrames(true); stackPrintOptions.setPrintLibrary(true); - ProcRunUtil procRunningUtil = - new ProcRunUtil("ferror", + ProcFollowUtil procRunningUtil = + new ProcFollowUtil("ferror", "ferror -e \"\" -- [ARGS]", args, new TaskObserver[]{ syscallObserver }, options(), - ProcRunUtil.DEFAULT); + ProcFollowUtil.DEFAULT); procRunningUtil.start(); } diff --git a/frysk-core/frysk/bindir/fstep.java b/frysk-core/frysk/bindir/fstep.java index efde87c..87dedf5 100644 --- a/frysk-core/frysk/bindir/fstep.java +++ b/frysk-core/frysk/bindir/fstep.java @@ -55,12 +55,12 @@ import frysk.proc.Proc; import frysk.proc.Task; import frysk.proc.TaskObserver; import frysk.util.CommandlineParser; -import frysk.util.ProcRunUtil; +import frysk.util.ProcFollowUtil; import gnu.classpath.tools.getopt.Option; import gnu.classpath.tools.getopt.OptionGroup; import gnu.classpath.tools.getopt.OptionException; -public class fstep implements ProcRunUtil.NewTaskObserver, +public class fstep implements ProcFollowUtil.NewTaskObserver, TaskObserver.Code, TaskObserver.Instruction, TaskObserver.Terminated @@ -155,10 +155,10 @@ public class fstep implements ProcRunUtil.NewTaskObserver, final fstep step = new fstep(); - ProcRunUtil procRunUtil = new ProcRunUtil("fstep", + ProcFollowUtil procRunUtil = new ProcFollowUtil("fstep", "fstep [OPTIONS]", args, step, options(), - ProcRunUtil.DEFAULT); + ProcFollowUtil.DEFAULT); procRunUtil.start(); } diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog index 53bc634..b013423 100644 --- a/frysk-core/frysk/util/ChangeLog +++ b/frysk-core/frysk/util/ChangeLog @@ -1,3 +1,8 @@ +2008-03-20 Sami Wagiaalla + + * ProcFollowUtil.java: Renamed ProcRunUtil to ProcFollowUtil + * FCatch.java: Updated. + 2008-03-20 Andrew Cagney * ProcRunUtil.java: Use ProcTasksObserver and ProcTasksAction. diff --git a/frysk-core/frysk/util/FCatch.java b/frysk-core/frysk/util/FCatch.java index 77fab71..a5acafb 100644 --- a/frysk-core/frysk/util/FCatch.java +++ b/frysk-core/frysk/util/FCatch.java @@ -138,11 +138,11 @@ public class FCatch { public void run(String[] args) { CatchObserver catchObserver = new CatchObserver(); - ProcRunUtil procRunUtil - = new ProcRunUtil("fcatch", + ProcFollowUtil procRunUtil + = new ProcFollowUtil("fcatch", "Usage: fcatch [OPTIONS] -- PATH ARGS || fcatch [OPTIONS] PID", args, new TaskObserver[] { catchObserver}, - options(), ProcRunUtil.DEFAULT); + options(), ProcFollowUtil.DEFAULT); procRunUtil.start(); } } diff --git a/frysk-core/frysk/util/ProcRunUtil.java b/frysk-core/frysk/util/ProcFollowUtil.java similarity index 98% rename from frysk-core/frysk/util/ProcRunUtil.java rename to frysk-core/frysk/util/ProcFollowUtil.java index 3e8b90a..f2888df 100644 --- a/frysk-core/frysk/util/ProcRunUtil.java +++ b/frysk-core/frysk/util/ProcFollowUtil.java @@ -66,7 +66,7 @@ import gnu.classpath.tools.getopt.OptionGroup; * * Utilities must define a event.ProcEvent to execute. */ -public class ProcRunUtil { +public class ProcFollowUtil { private final HashSet knownTasks = new HashSet(); @@ -89,7 +89,7 @@ public class ProcRunUtil { public static final RunningUtilOptions DEFAULT = new RunningUtilOptions(); - public ProcRunUtil(String utilName, String usage, String[] args, + public ProcFollowUtil(String utilName, String usage, String[] args, NewTaskObserver newTaskObserver, OptionGroup[] customOptions, RunningUtilOptions options) { @@ -98,7 +98,7 @@ public class ProcRunUtil { this.newTaskObserver = newTaskObserver; } - public ProcRunUtil(String utilName, String usage, String[] args, + public ProcFollowUtil(String utilName, String usage, String[] args, TaskObserver[] observers, OptionGroup[] customOptions, RunningUtilOptions options) { this.options = options; hooks/post-receive -- frysk system monitor/debugger