diff options
author | Martin Liska <mliska@suse.cz> | 2020-10-06 11:18:55 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-10-06 15:49:42 +0200 |
commit | a30d4fc5199ba16cec39fd3f9cca878a9699cf4e (patch) | |
tree | 792e99742209ea776be1a9797ebc1bd3d1a541d4 /gcc/common.opt | |
parent | 8988ec5b4232ba1d54a2737d2d03a3161b64300e (diff) | |
download | gcc-a30d4fc5199ba16cec39fd3f9cca878a9699cf4e.zip gcc-a30d4fc5199ba16cec39fd3f9cca878a9699cf4e.tar.gz gcc-a30d4fc5199ba16cec39fd3f9cca878a9699cf4e.tar.bz2 |
dbgcnt: print list after compilation
gcc/ChangeLog:
* common.opt: Remove -fdbg-cnt-list from deferred options.
* dbgcnt.c (dbg_cnt_set_limit_by_index): Make a copy
to original_limits.
(dbg_cnt_list_all_counters): Print also current counter value
and print to stderr.
* opts-global.c (handle_common_deferred_options): Do not handle
-fdbg-cnt-list.
* opts.c (common_handle_option): Likewise.
* toplev.c (finalize): Handle it after compilation here.
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 292c2de..7e789d1 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1202,7 +1202,7 @@ Common Report Var(flag_data_sections) Place data items into their own section. fdbg-cnt-list -Common Report Var(common_deferred_options) Defer +Common Report Var(flag_dbg_cnt_list) List all available debugging counters with their limits and counts. fdbg-cnt= |