public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: rmoseley@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Merge branch 'master' of ssh://sources.redhat.com/git/frysk
Date: Thu, 24 Jan 2008 19:23:00 -0000	[thread overview]
Message-ID: <20080124192304.26525.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  f9eb110e2b34a5a881aec96c6b886fe571cb29d0 (commit)
       via  21463c80295c6960786f6415c29820bcd0a4790b (commit)
      from  6a3ed1921c83fce6bac4eadda31dfa9c014f2952 (commit)

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

- Log -----------------------------------------------------------------
commit f9eb110e2b34a5a881aec96c6b886fe571cb29d0
Merge: 21463c80295c6960786f6415c29820bcd0a4790b 6a3ed1921c83fce6bac4eadda31dfa9c014f2952
Author: Rick Moseley <rmoseley@dhcp-215.hsv.redhat.com>
Date:   Thu Jan 24 13:22:43 2008 -0600

    Merge branch 'master' of ssh://sources.redhat.com/git/frysk

commit 21463c80295c6960786f6415c29820bcd0a4790b
Author: Rick Moseley <rmoseley@dhcp-215.hsv.redhat.com>
Date:   Thu Jan 24 13:21:29 2008 -0600

    Print command line for start/run.
    
    * StartRun.java: Print command line for start/run.

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

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog     |    4 ++++
 frysk-core/frysk/hpd/StartRun.java |   16 ++--------------
 2 files changed, 6 insertions(+), 14 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 8d67eb9..5344c42 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-24  Rick Moseley  <rmoseley@redhat.com>
+
+	* StartRun.java: Print command line for start/run.
+
 2008-01-24  Andrew Cagney  <cagney@redhat.com>
 
 	* RegsCommand.java: Update; Register moved to frysk.isa.registers.
diff --git a/frysk-core/frysk/hpd/StartRun.java b/frysk-core/frysk/hpd/StartRun.java
index 1d803d8..e25f9e3 100644
--- a/frysk-core/frysk/hpd/StartRun.java
+++ b/frysk-core/frysk/hpd/StartRun.java
@@ -143,23 +143,15 @@ class StartRun extends ParameterizedCommand {
 	// if there are not any procs loaded with the load/core commands
 	Iterator foo = cli.targetset.getTasks();
 	if (foo.hasNext()) {
-	    //System.out.println("StartRun.interpretCmd: foo.hasNext()");
 	    if (cli.coreProcs.isEmpty() && cli.loadedProcs.isEmpty()) {
-		//System.out.println("StartRun.interpretCmd: coreProcs.isEmpty && loadedProcs.isEmpty");
 		// Clear the parameters for this process
 		while (foo.hasNext()) {
-		    //System.out.println("StartRun.interpretCmd: inside while");
 		    Task task = (Task) foo.next();
 		    String paramList = getParameters(cmd, task);
-		    //System.out.println("StartRun.interpretCmd: fixing to kill");
 		    cli.execCommand("kill\n");
-		    //cli.execCommand("focus\n");
-		    //System.out.println("StartRun.interpretCmd: fixing to start");
 		    cli.execCommand("start " + paramList + "\n");
-		    //cli.execCommand("focus\n");
 		    if (runToBreak)
 			cli.execCommand("go\n");
-		    //cli.execCommand("focus\n");
 		}
 		return;
 	    }
@@ -175,7 +167,6 @@ class StartRun extends ParameterizedCommand {
 
 	/* This is the case where there are loaded procs */
 	if (!cli.loadedProcs.isEmpty()) {
-	    //System.out.println("StartRun.interpretCmd: if !cli.loadedProcs.isEmpty");
 	    Set procSet = cli.loadedProcs.entrySet();
 	    runProcs(cli, procSet, cmd);
 	    synchronized (cli) {
@@ -194,7 +185,6 @@ class StartRun extends ParameterizedCommand {
     }
 
     private void run(CLI cli, Input cmd) {
-	//System.out.println("StartRun.run: beginning of run");
 	Runner runner = new Runner(cli);
 	Manager.host.requestCreateAttachedProc(cmd.stringArrayValue(), runner);
 	while (true) {
@@ -219,7 +209,6 @@ class StartRun extends ParameterizedCommand {
 	int ctr = 0;
 	while (foo.hasNext()) {
 	    ctr++;
-	    //System.out.println("StartRun.runProcs: ctr = " + ctr);
 	    Map.Entry me = (Map.Entry) foo.next();
 	    Proc proc = (Proc) me.getKey();
 	    Integer taskid = (Integer) me.getValue();
@@ -228,11 +217,11 @@ class StartRun extends ParameterizedCommand {
 	    synchronized (cli) {
 		cli.taskID = taskid.intValue();
 	    }
-	    //System.out.println("StartRun.runProcs: proc.getExe = " + proc.getExe());
 	    Input newcmd = new Input(proc.getExe() + " " +
 		    getParameters(cmd, proc.getMainTask()));
+	    cli.addMessage("starting/running with this command: " + 
+		    newcmd, Message.TYPE_NORMAL);
 	    run(cli, newcmd);
-	    //System.out.println("StartRun.runProcs: runToBreak = " + runToBreak);
 	    if (runToBreak)
 		cli.execCommand("go\n");
 	    synchronized (cli) {
@@ -281,7 +270,6 @@ class StartRun extends ParameterizedCommand {
 	String paramList = "";
 	for (int j = i; j < parameters.length; j++) 
 	    paramList = paramList + parameters[j] + " ";
-	    System.out.println("StartRun.parseParameters");
 	    return paramList;
     }
     


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


             reply	other threads:[~2008-01-24 19:23 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 19:23 rmoseley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-05 15:33 rmoseley
2008-05-12 16:30 rmoseley
2008-05-12 16:07 pmuldoon
2008-05-09 17:29 rmoseley
2008-04-02 22:41 pmuldoon
2008-04-01 12:28 pmuldoon
2008-03-20 20:20 rmoseley
2008-03-18 16:22 pmuldoon
2008-02-26 15:32 pmuldoon
2008-01-23 21:10 rmoseley
2008-01-03 16:55 pmuldoon
2007-12-13 20:18 rmoseley
2007-12-04 17:45 jflavio
2007-11-30  4:24 jflavio
2007-11-28 21:40 jflavio
2007-11-28 16:20 jflavio
2007-11-28 13:08 pmuldoon
2007-11-28 12:04 mark
2007-11-20 22:47 scox
2007-11-19 17:58 scox
2007-11-17  8:35 rmoseley
2007-11-16 15:59 scox
2007-11-16 14:59 pmuldoon
2007-11-14  2:38 scox
2007-11-14  2:09 jflavio
2007-11-13  0:41 scox
2007-11-10 14:47 jflavio
2007-11-10  0:34 scox
2007-11-09 14:59 jflavio

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=20080124192304.26525.qmail@sourceware.org \
    --to=rmoseley@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).