diff options
author | Seongbae Park <seongbae.park@gmail.com> | 2007-06-12 20:47:16 +0000 |
---|---|---|
committer | Seongbae Park <spark@gcc.gnu.org> | 2007-06-12 20:47:16 +0000 |
commit | 0a090f42f6f1a646830a7b51c8b267fe27da383c (patch) | |
tree | 442ad5f0eb85d93bc8a16556055d25685c473bc2 /gcc/common.opt | |
parent | 773a78612016aafd567920f86a36f28703d56674 (diff) | |
download | gcc-0a090f42f6f1a646830a7b51c8b267fe27da383c.zip gcc-0a090f42f6f1a646830a7b51c8b267fe27da383c.tar.gz gcc-0a090f42f6f1a646830a7b51c8b267fe27da383c.tar.bz2 |
opts.c (common_handle_option): Handle new option -fdbg-cnt-list.
2007-06-12 Seongbae Park <seongbae.park@gmail.com>
* opts.c (common_handle_option): Handle new option -fdbg-cnt-list.
* dbgcnt.c (dbg_cnt_set_limit_by_name): Return value
to indicate an error.
(dbg_cnt_process_single_pair, dbg_cnt_list_all_counters): New functions
(dbg_cnt_process_opt): Print an error on a bad argument.
* dbgcnt.h (dbg_cnt_list_all_counters): New function declaration.
* common.opt (-fdbg-cnt-list): New.
* doc/invoke.texi (-fdbg-cnt-list,-fdbg-cnt=): New.
From-SVN: r125657
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 726c350..d03652c 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -392,9 +392,13 @@ fdata-sections Common Report Var(flag_data_sections) Optimization Place data items into their own section +fdbg-cnt-list +Common Report +List all available debugging counters with their limits and counts. + fdbg-cnt= Common RejectNegative Joined --fdbg-cnt=<counter>:<limit> Set the debug counter limit. +-fdbg-cnt=<counter>:<limit>[,<counter>:<limit>,...] Set the debug counter limit. ; Nonzero for -fdefer-pop: don't pop args after each function call ; instead save them up to pop many calls' args with one insns. |