summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-22 14:55:54 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-22 14:55:54 +0000
commitd87ccabdc213e6860815a6aa563b65bb5e5d6d62 (patch)
treec444c6a1bdcb02db35c22480a04be1fbcb4e43e1 /gcc/dwarf2out.c
parent13dc7657a9660c9fd268c612321a8dbf6157e556 (diff)
downloadgcc-d87ccabdc213e6860815a6aa563b65bb5e5d6d62.tar.gz
* dwarf2out.c (dwarf2_debug_hooks): Initialize
non-DWARF2_DEBUGGING_INFO version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148800 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c31
1 files changed, 30 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 310c2e23fc6..c57b753e358 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -17197,7 +17197,36 @@ dwarf2out_finish (const char *filename)
#else
/* This should never be used, but its address is needed for comparisons. */
-const struct gcc_debug_hooks dwarf2_debug_hooks;
+const struct gcc_debug_hooks dwarf2_debug_hooks =
+{
+ 0, /* init */
+ 0, /* finish */
+ 0, /* define */
+ 0, /* undef */
+ 0, /* start_source_file */
+ 0, /* end_source_file */
+ 0, /* begin_block */
+ 0, /* end_block */
+ 0, /* ignore_block */
+ 0, /* source_line */
+ 0, /* begin_prologue */
+ 0, /* end_prologue */
+ 0, /* end_epilogue */
+ 0, /* begin_function */
+ 0, /* end_function */
+ 0, /* function_decl */
+ 0, /* global_decl */
+ 0, /* type_decl */
+ 0, /* imported_module_or_decl */
+ 0, /* deferred_inline_function */
+ 0, /* outlining_inline_function */
+ 0, /* label */
+ 0, /* handle_pch */
+ 0, /* var_location */
+ 0, /* switch_text_section */
+ 0, /* set_name */
+ 0 /* start_end_main_source_file */
+};
#endif /* DWARF2_DEBUGGING_INFO */