summaryrefslogtreecommitdiff
path: root/gdb/disasm.h
diff options
context:
space:
mode:
authormmetzger <mmetzger>2012-11-13 15:35:37 +0000
committermmetzger <mmetzger>2012-11-13 15:35:37 +0000
commitdefa4b682a6938059b706817246c22c13b7d56a3 (patch)
tree54b53efe963eb273a81210058e9e30ac3841e451 /gdb/disasm.h
parent8fddc20e18ee473b46c843ddec3346581db45089 (diff)
downloadgdb-defa4b682a6938059b706817246c22c13b7d56a3.tar.gz
* 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.
Diffstat (limited to 'gdb/disasm.h')
-rw-r--r--gdb/disasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/disasm.h b/gdb/disasm.h
index 646ee8eeb36..a254642ba9c 100644
--- a/gdb/disasm.h
+++ b/gdb/disasm.h
@@ -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;