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
This commit is contained in:
parent
bc4c01b725
commit
c4cef86b3b
@ -1,5 +1,8 @@
|
||||
2004-03-16 Per Bothner <per@bothner.com>
|
||||
|
||||
* jcf-jump.c (options): New --print-constants option.
|
||||
* gcj.texi (Invoking jcf-dump): Document --print-constants.
|
||||
|
||||
* jcf-dump.c (flag_print_constant_pool): Default to off.
|
||||
(print_constant_terse_with_index): New helper function.
|
||||
(various places): Check flag_print_constant_pool where missing.
|
||||
|
@ -760,6 +760,10 @@ or file name.
|
||||
@item -c
|
||||
Disassemble method bodies. By default method bodies are not printed.
|
||||
|
||||
@item --print-constants
|
||||
Print the constant pool. When printing a reference to a constant
|
||||
also print its index in the constant pool.
|
||||
|
||||
@item --javap
|
||||
Generate output in @code{javap} format. The implementation of this
|
||||
feature is very incomplete.
|
||||
@ -778,6 +782,7 @@ Print version number, then exit.
|
||||
|
||||
@item -v, --verbose
|
||||
Print extra information while running.
|
||||
Implies @code{--print-constants}.
|
||||
@end table
|
||||
|
||||
@c man end
|
||||
|
@ -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 }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user