2002-05-22 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 23 May 2002 06:51:41 +0000 (06:51 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 23 May 2002 06:51:41 +0000 (06:51 +0000)
* dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
for source file.

gas/ChangeLog
gas/dwarf2dbg.c

index 8425bc60fdca8cceeb95f5866ca85f0f234ce4a5..3adaae7499bd0311463a783bcf33942b6a4d8fdf 100644 (file)
@@ -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
index 608d7f60b8ecb07f20de5fdd50408c26b10c1cba..94d9f7972ce65489f4ca855333255d632316e4d0 100644 (file)
@@ -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
 }
 \f