aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-05-23 06:51:41 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-05-23 06:51:41 +0000
commit9d66a1d9d68238024e4accd78e82f3432c6292af (patch)
tree56a48cb5ef08f5e49e4da2573bb5da6208eb6ff4 /gas/dwarf2dbg.c
parent53c7db4bbb8b5cd0b5e52f2edfe4f79ece93d433 (diff)
downloadgdb-9d66a1d9d68238024e4accd78e82f3432c6292af.zip
gdb-9d66a1d9d68238024e4accd78e82f3432c6292af.tar.gz
gdb-9d66a1d9d68238024e4accd78e82f3432c6292af.tar.bz2
2002-05-22 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file for source file.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 608d7f6..94d9f79 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
}