aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-dump.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-03-16 16:00:40 -0800
committerPer Bothner <bothner@gcc.gnu.org>2004-03-16 16:00:40 -0800
commitc4cef86b3ba6eef9761fab157340944b0d735a99 (patch)
tree923f243bc00a67167f3a15c52a51c33a251d635d /gcc/java/jcf-dump.c
parentbc4c01b72555815fec6389d1a91df9405f496947 (diff)
downloadgcc-c4cef86b3ba6eef9761fab157340944b0d735a99.zip
gcc-c4cef86b3ba6eef9761fab157340944b0d735a99.tar.gz
gcc-c4cef86b3ba6eef9761fab157340944b0d735a99.tar.bz2
jcf-jump.c (options): New --print-constants option.
* jcf-jump.c (options): New --print-constants option. * gcj.texi (Invoking jcf-dump): Document --print-constants. From-SVN: r79558
Diffstat (limited to 'gcc/java/jcf-dump.c')
-rw-r--r--gcc/java/jcf-dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index c28a3f4..3d5f0c5 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -874,7 +874,8 @@ static const struct option options[] =
{ "verbose", no_argument, NULL, 'v' },
{ "version", no_argument, NULL, OPT_VERSION },
{ "javap", no_argument, NULL, OPT_JAVAP },
- { "print-main", no_argument, &flag_print_main, 1 },
+ { "print-main", no_argument, &flag_print_main, 1 },
+ { "print-constants", no_argument, &flag_print_constant_pool, 1 },
{ NULL, no_argument, NULL, 0 }
};