From: Richard Henderson Date: Thu, 1 Feb 2001 18:10:44 +0000 (+0000) Subject: * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations X-Git-Tag: x86_64versiong3~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c7e3d063d888ed75ec875988a8d5ea6d090182b;p=thirdparty%2Fbinutils-gdb.git * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations for the compilation unit with a zero byte. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index dc97038a98a..1fb85e74017 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-02-01 Momchil Velikov + + * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations + for the compilation unit with a zero byte. + 2001-01-30 Alan Modra * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index c24d85ab4ee..0068f7a620b 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -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. */