aboutsummaryrefslogtreecommitdiff
path: root/gas
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
parent905308801e2d076e98aa0d099cf486628414051e (diff)
downloadgdb-a987bfc987248990aeee2ede0bcd005732b948c4.zip
gdb-a987bfc987248990aeee2ede0bcd005732b948c4.tar.gz
gdb-a987bfc987248990aeee2ede0bcd005732b948c4.tar.bz2
* dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
for the compilation unit with a zero byte.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/dwarf2dbg.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index dc97038..1fb85e7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
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. */