This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
[patch] fix the bug of the help information of fstack
- From: Zhao Shujing <pearly dot zhao at oracle dot com>
- To: Frysk Mailing List <frysk at sourceware dot org>
- Cc: Elena Zannoni <elena dot zannoni at oracle dot com>
- Date: Wed, 11 Jul 2007 11:16:52 +0800
- Subject: [patch] fix the bug of the help information of fstack
- Organization: Oracle
- Reply-to: pearly dot zhao at oracle dot com
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
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
{