* dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
authorRichard Henderson <rth@redhat.com>
Thu, 1 Feb 2001 18:08:47 +0000 (18:08 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 1 Feb 2001 18:08:47 +0000 (18:08 +0000)
        for the compilation unit with a zero byte.

gas/ChangeLog
gas/dwarf2dbg.c

index dc97038..1fb85e7 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-01  Momchil Velikov  <velco@fadata.bg>
+
+       * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
+       for the compilation unit with a zero byte.
+
 2001-01-30  Alan Modra  <alan@linuxcare.com.au>
 
        * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
index c24d85a..0068f7a 100644 (file)
@@ -1099,6 +1099,9 @@ out_debug_abbrev (abbrev_seg)
   out_abbrev (DW_AT_producer, DW_FORM_string);
   out_abbrev (DW_AT_language, DW_FORM_data2);
   out_abbrev (0, 0);
+
+  /* Terminate the abbreviations for this compilation unit.  */
+  out_byte (0);
 }
 
 /* Emit a description of this compilation unit for .debug_info.  */