This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
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:24:31 -0700
- Subject: 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