aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2009-06-22 14:55:54 +0000
committerRainer Orth <ro@gcc.gnu.org>2009-06-22 14:55:54 +0000
commita77264d59fee36843f28195f7dd6144a42404cca (patch)
treec444c6a1bdcb02db35c22480a04be1fbcb4e43e1
parent54f549afdd76372e400daf0a316f2f7ca3067c1c (diff)
downloadgcc-a77264d59fee36843f28195f7dd6144a42404cca.zip
gcc-a77264d59fee36843f28195f7dd6144a42404cca.tar.gz
gcc-a77264d59fee36843f28195f7dd6144a42404cca.tar.bz2
dwarf2out.c (dwarf2_debug_hooks): Initialize non-DWARF2_DEBUGGING_INFO version.
* dwarf2out.c (dwarf2_debug_hooks): Initialize non-DWARF2_DEBUGGING_INFO version. From-SVN: r148800
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c31
2 files changed, 35 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 102e69b..74a4ed0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * dwarf2out.c (dwarf2_debug_hooks): Initialize
+ non-DWARF2_DEBUGGING_INFO version.
+
2009-06-22 Kai Tietz <kai.tietz@onevision.com>
* config.gcc: Add for x86 and x64 mingw targets t-fprules-soft
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 310c2e2..c57b753 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 */