aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-02-01 18:08:47 +0000
committerRichard Henderson <rth@redhat.com>2001-02-01 18:08:47 +0000
commita987bfc987248990aeee2ede0bcd005732b948c4 (patch)
tree410feea31bfce2473f1048363e192feb5bd74098 /gas/dwarf2dbg.c
parent905308801e2d076e98aa0d099cf486628414051e (diff)
downloadfsf-binutils-gdb-a987bfc987248990aeee2ede0bcd005732b948c4.zip
fsf-binutils-gdb-a987bfc987248990aeee2ede0bcd005732b948c4.tar.gz
fsf-binutils-gdb-a987bfc987248990aeee2ede0bcd005732b948c4.tar.bz2
* dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
for the compilation unit with a zero byte.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index c24d85a..0068f7a 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. */