* disasm.h (DISASSEMBLY_FILENAME): New macro.

* disasm.c (do_mixed_source_and_assembly): Pass filename flag on
	to print_source_lines ().
	* symtab.h (PRINT_SOURCE_LINES_FILENAME): New print source lines
	flag.
	* source.c (print_source_lines_base): Prefix source line with
	filename if PRINT_SOURCE_LINES_FILENAME flag is set.
This commit is contained in:
Markus Metzger 2012-11-13 15:35:43 +00:00
parent dfaae88645
commit 4cd2972117
5 changed files with 28 additions and 5 deletions

View file

@ -22,6 +22,7 @@
#define DISASSEMBLY_SOURCE (0x1 << 0)
#define DISASSEMBLY_RAW_INSN (0x1 << 1)
#define DISASSEMBLY_OMIT_FNAME (0x1 << 2)
#define DISASSEMBLY_FILENAME (0x1 << 3)
struct ui_out;
struct ui_file;