diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-03-25 00:06:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-03-25 00:06:23 +0000 |
commit | e4dee78c688fd87281a90b429988438883018089 (patch) | |
tree | 1c2880b5ba911a1d44094e28efa43e47c68c4318 /gprof/gprof.h | |
parent | 44a8b274cf93b7abf787e9ae825505cc8d25220b (diff) | |
download | gdb-e4dee78c688fd87281a90b429988438883018089.zip gdb-e4dee78c688fd87281a90b429988438883018089.tar.gz gdb-e4dee78c688fd87281a90b429988438883018089.tar.bz2 |
Add --demangle and --no-demangle options:
* gprof.h (demangle): Declare.
* gprof.c (demangle): New global variable.
(OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define.
(long_options): Add "demangle" and "no-demangle".
(usage): Mention --demangle and --no-demangle.
(main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE.
* utils.c (print_name_only): Only demangle symbol name if demangle
is true.
* gprof.texi (Output Options): Document new options.
Diffstat (limited to 'gprof/gprof.h')
-rw-r--r-- | gprof/gprof.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h index 20eb108..92e6c86 100644 --- a/gprof/gprof.h +++ b/gprof/gprof.h @@ -112,6 +112,7 @@ extern int debug_level; /* debug level */ extern int output_style; extern int output_width; /* controls column width in index */ extern bool bsd_style_output; /* as opposed to FSF style output */ +extern bool demangle; /* demangle symbol names? */ extern bool discard_underscores; /* discard leading underscores? */ extern bool ignore_direct_calls; /* don't count direct calls */ extern bool ignore_static_funcs; /* suppress static functions */ |