dwarf2out.c (dwarf2out_finish): Don't forget to emit a final entry with a type code...
authorJim Blandy <jimb@redhat.com>
Fri, 24 May 2002 19:16:56 +0000 (19:16 +0000)
committerJim Blandy <jimb@gcc.gnu.org>
Fri, 24 May 2002 19:16:56 +0000 (19:16 +0000)
* 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.

From-SVN: r53849

gcc/ChangeLog
gcc/dwarf2out.c

index 35e91c49add2d85b33ad16ce840432b1308f0ae5..29027a11361ba26999672234ba9f28e2daaa2921 100644 (file)
@@ -1,3 +1,9 @@
+2002-05-24  Jim Blandy  <jimb@redhat.com>
+
+       * 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  <rth@redhat.com>
 
         * varasm.c (asm_output_bss): Always output one byte.
index 31daf427069d18c66e0ee5ad38f2de0bda28e8fd..f6ef2fa330075a402e2f695db5c819a55677c8e6 100644 (file)
@@ -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