• neil's avatar
    * common.opt: Add debug switches. · b0e56fb1
    neil authored
    	* flags.h (use_gnu_debug_info_extensions): Boolify.
    	* opts.c (write_symbols, debug_info_level,
    	use_gnu_debug_info_extensions): Move from toplev.c.
    	(set_debug_level): New.
    	(common_handle_options): Handle debug switches.
    	(print_help): Display target options directly.
    	* toplev.c (debug_hooks): Don't initialize.
    	(write_symbols, debug_info_level,
    	use_gnu_debug_info_extensions): Move to opts.c.
    	(debug_args, display_help, decode_g_option): Remove.
    	(process_options): Set no debug if level zero here,
    	and no-debug-hooks.  Error here if impossible debug format selected.
    	* toplev.h (display_help, decode_g_option): Remove.
    testsuite:
    	* lib/gcc-dg.exp: Update for diagnostic change.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70253 138bc75d-0d04-0410-961f-82ee72b054a4
    b0e56fb1
opts.c 42.3 KB