public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: rmoseley@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Fix bz #5369.
Date: Tue, 20 Nov 2007 03:50:00 -0000	[thread overview]
Message-ID: <20071120035028.27383.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  254811a3ee56ca12371db0ada5fb03187fbe44cd (commit)
      from  3e6a814efd3e79779a6e472ba385e74513f0ca34 (commit)

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

- Log -----------------------------------------------------------------
commit 254811a3ee56ca12371db0ada5fb03187fbe44cd
Author: Rick Moseley <rmoseley@redhat.com>
Date:   Mon Nov 19 21:50:18 2007 -0600

    Fix bz #5369.
    
    * RunCommand.java: Fix bz# 5369; jazz up help message.

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

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

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 7080fa4..1fe6716 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,5 +1,9 @@
 2007-11-19  Rick Moseley  <rmoseley@redhat.com>
 
+	* RunCommand.java: Fix bz# 5369; jazz up the help message.
+
+2007-11-19  Rick Moseley  <rmoseley@redhat.com>
+
 	* CLI.java: Fix bz #5351.
 	* RunCommand.java: Ditto.
 	* LoadCommand.java: Ditto.
diff --git a/frysk-core/frysk/hpd/RunCommand.java b/frysk-core/frysk/hpd/RunCommand.java
index 3e9bba1..c813b84 100644
--- a/frysk-core/frysk/hpd/RunCommand.java
+++ b/frysk-core/frysk/hpd/RunCommand.java
@@ -53,12 +53,17 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
-class RunCommand extends Command {
+class RunCommand extends ParameterizedCommand {
     // Used to synchronize with updateAttached method
     RunCommand() {
 	super("run program and immediately attach",
-	      "run executable arguments*",
-	      "run program and immediately attach");
+	      "run <executable> <arguments*>",
+	      "The run command alllows the debuger to run a(any) program(s)"
+	      + " that has(have) been previously loaded via a load command"
+	      + " if no parameters are given. To run an executable, just"
+	      + " give the run command the path to the executable as a"
+	      + " parameter.  In either case the debugger attaches immediately"
+	      + " to the process.");
     }
 
     private static class Runner implements TaskObserver.Attached {
@@ -119,7 +124,7 @@ class RunCommand extends Command {
 
     }
 
-    public void interpret(CLI cli, Input cmd) {
+    public void interpret(CLI cli, Input cmd, Object options) {
 	/* If the run command is given no args, check to see if 
 	   any procs were loaded with the load command or loaded
 	   when fhpd was started */
@@ -174,7 +179,7 @@ class RunCommand extends Command {
 	runner.launchedTask.requestUnblock(runner);
     }
     
-    int complete(CLI cli, Input input, int cursor, List completions) {
+    int completer(CLI cli, Input input, int cursor, List completions) {
 	return CompletionFactory.completeFileName(cli, input, cursor,
 						  completions);
     }


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


                 reply	other threads:[~2007-11-20  3:50 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=20071120035028.27383.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).