summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2002-05-23 06:51:41 +0000
committerH.J. Lu <hjl@lucon.org>2002-05-23 06:51:41 +0000
commit115f7498a958aa1d27cc6bb8ff9c55b1cde93fd4 (patch)
tree432ec8fd9db47fbaed1dceb505fe3814976b5dad
parent1db864db954187c9ce6690ef35e35f92cf6848b5 (diff)
downloadbinutils-redhat-115f7498a958aa1d27cc6bb8ff9c55b1cde93fd4.tar.gz
2002-05-22 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file for source file.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/dwarf2dbg.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8425bc60fd..3adaae7499 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-22 H.J. Lu <hjl@gnu.org>
+
+ * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
+ for source file.
+
2002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
* config/tc-arm.c (arm_s_section): Enable for COFF builds as well
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 608d7f60b8..94d9f7972c 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -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
}