summaryrefslogtreecommitdiff
path: root/gcc/dbgcnt.h
diff options
context:
space:
mode:
authorspark <spark@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-12 20:47:16 +0000
committerspark <spark@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-12 20:47:16 +0000
commitd2153a46f57f9a774e1c4432d19f19b9f775d21d (patch)
tree442ad5f0eb85d93bc8a16556055d25685c473bc2 /gcc/dbgcnt.h
parenteef5001a90f3d912c952d22764764b0938d55ef1 (diff)
downloadgcc-d2153a46f57f9a774e1c4432d19f19b9f775d21d.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125657 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbgcnt.h')
-rw-r--r--gcc/dbgcnt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dbgcnt.h b/gcc/dbgcnt.h
index 38591e9b2ed..aafa6663ac8 100644
--- a/gcc/dbgcnt.h
+++ b/gcc/dbgcnt.h
@@ -35,5 +35,6 @@ enum debug_counter {
extern bool dbg_cnt_is_enabled (enum debug_counter index);
extern bool dbg_cnt (enum debug_counter index);
extern void dbg_cnt_process_opt (const char *arg);
+extern void dbg_cnt_list_all_counters (void);
#endif /* GCC_DBGCNT_H */