[BC] Patch: FYI: update documentation for -verbose:class
Tom Tromey
tromey@redhat.com
Wed Nov 10 18:49:00 GMT 2004
I'm checking this in on the BC branch.
This updates "gij -help" output and the gij man page to document
-verbose:class. It also adds "-verbose" as a synonym and documents
that.
Tom
Index: gcc/java/ChangeLog
from Tom Tromey <tromey@redhat.com>
* gcj.texi (Invoking gij): Document -verbose. Put -verbose and
-verbose:class into man page synopsis.
Index: gcc/java/gcj.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gcj.texi,v
retrieving revision 1.61.2.2
diff -u -r1.61.2.2 gcj.texi
--- gcc/java/gcj.texi 12 Oct 2004 12:42:44 -0000 1.61.2.2
+++ gcc/java/gcj.texi 10 Nov 2004 18:19:16 -0000
@@ -873,7 +873,7 @@
[@option{-cp} @var{path}] [@option{-classpath} @var{path}]
[@option{-D}@var{name}[=@var{value}]@dots{}]
[@option{-ms=}@var{number}] [@option{-mx=}@var{number}]
- [@option{-X@var{argument}]
+ [@option{-X@var{argument}}] [@option{-verbose}] [@option{-verbose:class}]
[@option{--showversion}] [@option{--version}] [@option{--help}][@option{-?}]
@c man end
@c man begin SEEALSO gij
@@ -954,7 +954,8 @@
@item --version
Print version number, then exit.
-@item -verbose:class
+@item -verbose
+@itemx -verbose:class
Each time a class is initialized, print a short message on standard error.
@end table
Index: libjava/ChangeLog
from Tom Tromey <tromey@redhat.com>
* gij.cc (main): Treat -verbose the same as -verbose:class.
(help): Document -verbose and -verbose:class.
Index: libjava/gij.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gij.cc,v
retrieving revision 1.22.18.1
diff -u -r1.22.18.1 gij.cc
--- libjava/gij.cc 12 Oct 2004 12:32:28 -0000 1.22.18.1
+++ libjava/gij.cc 10 Nov 2004 18:19:20 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation
+/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
This file is part of libgcj.
@@ -35,6 +35,7 @@
printf (" -X print help on supported -X options, then exit\n");
printf (" --ms=NUMBER set initial heap size\n");
printf (" --mx=NUMBER set maximum heap size\n");
+ printf (" --verbose[:class] print information about class loading\n");
printf (" --showversion print version number, then keep going\n");
printf (" --version print version number, then exit\n");
printf ("\nOptions can be specified with `-' or `--'.\n");
@@ -133,7 +134,7 @@
// correct behavior.
_Jv_Jar_Class_Path = argv[++i];
}
- else if (! strcmp (arg, "-verbose:class"))
+ else if (! strcmp (arg, "-verbose") || ! strcmp (arg, "-verbose:class"))
gcj::verbose_class_flag = true;
else if (arg[1] == 'X')
{
More information about the Gcc-patches
mailing list