From d87ccabdc213e6860815a6aa563b65bb5e5d6d62 Mon Sep 17 00:00:00 2001 From: ro Date: Mon, 22 Jun 2009 14:55:54 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 31 ++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 102e69bb5d7..74a4ed0cfc0 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 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 */ -- 2.11.0