aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2000-11-17 08:53:38 +0000
committerRichard Henderson <rth@redhat.com>2000-11-17 08:53:38 +0000
commit39bb5fe6d21c3a35b9bf742b0482c6b439552840 (patch)
treef92dc798e200d0450d0e6bd34c9938f55cae2f13 /gas
parent4dc7ead9fdf2143fa28755909c2cf9f47659aca4 (diff)
downloadgdb-39bb5fe6d21c3a35b9bf742b0482c6b439552840.zip
gdb-39bb5fe6d21c3a35b9bf742b0482c6b439552840.tar.gz
gdb-39bb5fe6d21c3a35b9bf742b0482c6b439552840.tar.bz2
* as.c (main): Call dwarf2_finish.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog1
-rw-r--r--gas/as.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f73c3f4..5929028 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,6 +1,7 @@
2000-11-17 Richard Henderson <rth@redhat.com>
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
+ (main): Call dwarf2_finish.
* as.h (debug_type): Clarify documentation of the meaning
of this variable.
* dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
diff --git a/gas/as.c b/gas/as.c
index 4878fcf..61eea13 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -885,6 +885,10 @@ main (argc, argv)
md_end ();
#endif
+ /* If we've been collecting dwarf2 .debug_line info, either for
+ assembly debugging or on behalf of the compiler, emit it now. */
+ dwarf2_finish ();
+
if (seen_at_least_1_file ()
&& (flag_always_generate_output || had_errors () == 0))
keep_it = 1;