public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* [patch] fix the bug of the help information of fstack
@ 2007-07-11  3:19 Zhao Shujing
  2007-07-11  8:00 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Zhao Shujing @ 2007-07-11  3:19 UTC (permalink / raw)
  To: Frysk Mailing List; +Cc: Elena Zannoni

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

Hi,
This patch is to fix bug
http://sourceware.org/bugzilla/show_bug.cgi?id=4774.

$./frysk-core/frysk/bindir/fstack -help

The description of option "-c" and "-a" is not right. 
It should be "... this is equivalent to -p functions,params,fullpath"
for "-c" option 
and " ... this is equivalent to -p functions,params,scopes,fullpath" for
"-a" option.

Thanks
Pearly Zhao
Oracle Asia R&D Center - Beijing

[-- Attachment #2: Type: text/x-patch, Size: 1266 bytes --]

Index: frysk-core/frysk/bindir/fstack.java
===================================================================
RCS file: /cvs/frysk/frysk-core/frysk/bindir/fstack.java,v
retrieving revision 1.34
diff -u -p -r1.34 fstack.java
--- frysk-core/frysk/bindir/fstack.java	20 Jun 2007 19:43:52 -0000	1.34
+++ frysk-core/frysk/bindir/fstack.java	11 Jul 2007 03:04:23 -0000
@@ -170,7 +170,7 @@ public final class fstack
     
     parser.add(new Option("all", 'a', "print all information that can currently be retrieved" +
                           "about the stack\n" +
-                          "this is equivalent to -a functions,params,scopes,fullpath"){
+                          "this is equivalent to -p functions,params,scopes,fullpath"){
 
                 public void parsed (String argument) throws OptionException
                 {
@@ -182,7 +182,7 @@ public final class fstack
               });
               
     parser.add(new Option("common", 'c', "print commonly used debug information:" +
-                          "this is equivalent to -a functions,params,fullpath"){
+                          "this is equivalent to -p functions,params,fullpath"){
 
                 public void parsed (String argument) throws OptionException
                 {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] fix the bug of the help information of fstack
  2007-07-11  3:19 [patch] fix the bug of the help information of fstack Zhao Shujing
@ 2007-07-11  8:00 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2007-07-11  8:00 UTC (permalink / raw)
  To: pearly.zhao; +Cc: Frysk Mailing List, Elena Zannoni

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

Hi Pearly,

On Wed, 2007-07-11 at 11:16 +0800, Zhao Shujing wrote:
> This patch is to fix bug
> http://sourceware.org/bugzilla/show_bug.cgi?id=4774.
> 
> $./frysk-core/frysk/bindir/fstack -help
> 
> The description of option "-c" and "-a" is not right. 

Thanks. Since you don't have commit access yet and it looks obviously
correct I committed it with the following ChangeLog entry:

2007-07-11  Zhao Shujing  <pearly.zhao@oracle.com>

    Fixes bug #4774
    * fstack.java (main): Correct help description of -a and -c options.

Cheers,

Mark

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-11  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-11  3:19 [patch] fix the bug of the help information of fstack Zhao Shujing
2007-07-11  8:00 ` Mark Wielaard

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).