From 323583a15129744cb92a8052e530f35238e15f03 Mon Sep 17 00:00:00 2001 From: jimb Date: Fri, 24 May 2002 19:16:56 +0000 Subject: [PATCH] * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final entry with a type code of zero, marking the end of the compilation unit's macro info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53849 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/dwarf2out.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35e91c4..29027a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-05-24 Jim Blandy + + * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final + entry with a type code of zero, marking the end of the compilation + unit's macro info. + 2002-05-24 Richard Henderson * varasm.c (asm_output_bss): Always output one byte. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 31daf42..f6ef2fa 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -12312,6 +12312,7 @@ dwarf2out_finish (input_filename) { named_section_flags (DEBUG_MACINFO_SECTION, SECTION_DEBUG); dw2_asm_output_data (1, DW_MACINFO_end_file, "End file"); + dw2_asm_output_data (1, 0, "End compilation unit"); } /* If we emitted any DW_FORM_strp form attribute, output the string -- 2.7.4