PATCH: Fix -ahl for dwarf

H . J . Lu hjl@lucon.org
Wed May 22 23:24:00 GMT 2002


May I check this for

http://sources.redhat.com/ml/bug-binutils/2002-q2/msg00275.html


H.J.
---
2002-05-22  H.J. Lu <hjl@gnu.org>

	* dwarf2dbg.c (dwarf2_directive_file): Call listing_source_file
	for source file.

--- gas/dwarf2dbg.c.list	Wed May 22 09:32:08 2002
+++ gas/dwarf2dbg.c	Wed May 22 23:19:44 2002
@@ -393,6 +393,10 @@ dwarf2_directive_file (dummy)
   files[num].filename = filename;
   files[num].dir = 0;
   files_in_use = num + 1;
+#ifndef NO_LISTING
+  if (listing && num == 1)
+    listing_source_file (filename);
+#endif /* ! NO_LISTING */
 }
 
 void



More information about the Binutils mailing list