public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: swagiaal@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: swagiaal: use Manageer.host to create live proc from dead one Date: Tue, 11 Mar 2008 21:33:00 -0000 [thread overview] Message-ID: <20080311213327.13523.qmail@sourceware.org> (raw) The branch, master has been updated via ed18197ea88aaff1e49c892c1862befcd9d71f7e (commit) from 7738b08136d36420784885c1bc19d260a936ade8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit ed18197ea88aaff1e49c892c1862befcd9d71f7e Author: Sami Wagiaalla <swagiaal@redhat.com> Date: Tue Mar 11 17:29:42 2008 -0400 swagiaal: use Manageer.host to create live proc from dead one frysk-core/frysk/util/ChangeLog +2008-03-11 Sami Wagiaalla <swagiaal@redhat.com> + + * ProcRunUtil.java (.parseCommand): Pass template proc + to host for creating live proc. + ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/util/ChangeLog | 5 +++++ frysk-core/frysk/util/ProcRunUtil.java | 17 +---------------- 2 files changed, 6 insertions(+), 16 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog index b2d6f27..ceb09a5 100644 --- a/frysk-core/frysk/util/ChangeLog +++ b/frysk-core/frysk/util/ChangeLog @@ -1,3 +1,8 @@ +2008-03-11 Sami Wagiaalla <swagiaal@redhat.com> + + * ProcRunUtil.java (.parseCommand): Pass template proc + to host for creating live proc. + 2008-03-11 Sami Wagiaalla <swagiaal@redhat.com> * FCatch.java: Remove cached stack trace if new stack diff --git a/frysk-core/frysk/util/ProcRunUtil.java b/frysk-core/frysk/util/ProcRunUtil.java index 073e777..71bb6f1 100644 --- a/frysk-core/frysk/util/ProcRunUtil.java +++ b/frysk-core/frysk/util/ProcRunUtil.java @@ -39,7 +39,6 @@ package frysk.util; -import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Set; @@ -101,21 +100,7 @@ public class ProcRunUtil { // @Override public void parseCommand(Proc command) { - - //Exctact arguments and executable from give Proc object - ArrayList commandAndArguments; - String[] line = command.getCmdLine(); - commandAndArguments = new ArrayList(); - for (int i = 0; i < line.length; i++){ - commandAndArguments.add(line[i]); - } - - //Create a live process using the extracted command. - // attachedObserver will handle adding of the remaining - // observers. - Manager.host.requestCreateAttachedProc( - (String[]) commandAndArguments.toArray(new String[0]), - attachedObserver); + Manager.host.requestCreateAttachedProc(command, attachedObserver); } }; hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-03-11 21:33 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=20080311213327.13523.qmail@sourceware.org \ --to=swagiaal@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: linkBe 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).