diff options
author | Markus Metzger <mmetzger@sourceware.org> | 2012-11-13 15:35:43 +0000 |
---|---|---|
committer | Markus Metzger <mmetzger@sourceware.org> | 2012-11-13 15:35:43 +0000 |
commit | 4cd29721179a29be4f31798c5860d0964130b78c (patch) | |
tree | 54938daba9af7a291729ae10002d4e9eba6d792d /gdb/disasm.h | |
parent | dfaae88645ac58515a3037a09df0d1b7b6d034a4 (diff) | |
download | gdb-4cd29721179a29be4f31798c5860d0964130b78c.zip gdb-4cd29721179a29be4f31798c5860d0964130b78c.tar.gz gdb-4cd29721179a29be4f31798c5860d0964130b78c.tar.bz2 |
* 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/disasm.h b/gdb/disasm.h index 646ee8e..a254642 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; |