This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix -ahl for dwarf
- From: "H . J . Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Cc: haakon dot riiser at fys dot uio dot no
- Date: Wed, 22 May 2002 23:38:09 -0700
- Subject: Re: PATCH: Fix -ahl for dwarf
- References: <20020522232431.A3510@lucon.org>
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
}