This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix -ahl for dwarf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]