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]

Re: PATCH: Fix -ahl for dwarf


On Wed, May 22, 2002 at 11:24:31PM -0700, H . J . Lu wrote:
> May I check this for
> 
> http://sources.redhat.com/ml/bug-binutils/2002-q2/msg00275.html
> 
> 

Here is an updated patch which should work with "#include".


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

	* dwarf2dbg.c (dwarf2_directive_loc): 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:31:23 2002
@@ -428,7 +428,10 @@ dwarf2_directive_loc (dummy)
 
 #ifndef NO_LISTING
   if (listing)
-    listing_source_line (line);
+    {
+      listing_source_file (files[filenum].filename);
+      listing_source_line (line);
+    }
 #endif
 }
 


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