diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-19 13:30:38 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-19 13:30:38 +0000 |
commit | d7175aeff80486d3421f38002845779158ce107b (patch) | |
tree | 7fd6c4c0bba8f7cc2410b5d720f57e9dea16b4a0 /gcc/flags.h | |
parent | 470a0ecda2546f31ad9e7ff981808dd50fe10650 (diff) | |
download | gcc-d7175aeff80486d3421f38002845779158ce107b.tar.gz |
* common.opt (debug_struct_ordinary, debug_struct_generic): New
Variable entries.
* dwarf2out.c (matches_main_base, dump_struct_debug, DUMP_GSTRUCT,
should_emit_struct_debug): Move from opts.c.
* flag-types.h (enum debug_struct_file): Move from opts.c.
* flags.h (should_emit_struct_debug): Remove.
(base_of_path): Declare.
(set_struct_debug_option): Add gcc_options parameter.
* optc-gen.awk, opth-gen.awk: Handle array variables.
* opts.c (enum debug_struct_file, debug_struct_ordinary,
debug_struct_generic): Remove.
(set_struct_debug_option): Add gcc_options parameter.
(base_of_path): Remove static.
(main_input_basename, main_input_baselength, matches_main_base,
dump_struct_debug, DUMP_GSTRUCT, should_emit_struct_debug):
Remove.
* toplev.c (main_input_basename, main_input_baselength): Define
here.
* toplev.h (main_input_basename, main_input_baselength): Declare
here.
c-family:
* c-opts.c (c_common_handle_option): Update calls to
set_struct_debug_option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166944 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flags.h')
-rw-r--r-- | gcc/flags.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/flags.h b/gcc/flags.h index 3cc65a4556d..4edb7849d4f 100644 --- a/gcc/flags.h +++ b/gcc/flags.h @@ -37,8 +37,9 @@ extern const char *const debug_type_names[]; /* Specify how much debugging info to generate. */ extern enum debug_info_level debug_info_level; -extern bool should_emit_struct_debug (tree type_decl, enum debug_info_usage); -extern void set_struct_debug_option (const char *value); +extern int base_of_path (const char *path, const char **base_out); +extern void set_struct_debug_option (struct gcc_options *opts, + const char *value); /* Nonzero means use GNU-only extensions in the generated symbolic debugging information. */ |