From a77264d59fee36843f28195f7dd6144a42404cca Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 22 Jun 2009 14:55:54 +0000 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 31 ++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) 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 + + * dwarf2out.c (dwarf2_debug_hooks): Initialize + non-DWARF2_DEBUGGING_INFO version. + 2009-06-22 Kai Tietz * 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 */ -- cgit v1.1