diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-23 00:49:33 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-23 00:49:33 +0000 |
commit | 9c4191458a49d50ebda256b624eac5fc646f31a8 (patch) | |
tree | 474b2881c23441366319c61e671703aef7578058 /gdb/disasm.h | |
parent | bb8a0291affe114880874c0e192b471c87663b27 (diff) | |
download | gdb-9c4191458a49d50ebda256b624eac5fc646f31a8.zip gdb-9c4191458a49d50ebda256b624eac5fc646f31a8.tar.gz gdb-9c4191458a49d50ebda256b624eac5fc646f31a8.tar.bz2 |
2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* disasm.h (DISASSEMBLY_OMIT_FNAME) New define.
(gdb_disassembly): Correct parameter name.
* disasm.c (dump_insns): Adjust.
(gdb_disassembly): Fix indentation.
* cli/cli-cmds.c (disassemble_command): Adjust.
doc/ChangeLog:
2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.texinfo (Machine Code): Mention function name in disasssembly
and adjust example.
testsuite/ChangeLog:
2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.asm/asm-source.exp: Adjust.
Diffstat (limited to 'gdb/disasm.h')
-rw-r--r-- | gdb/disasm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/disasm.h b/gdb/disasm.h index a6f6d39..c92e5af 100644 --- a/gdb/disasm.h +++ b/gdb/disasm.h @@ -21,14 +21,14 @@ #define DISASSEMBLY_SOURCE (0x1 << 0) #define DISASSEMBLY_RAW_INSN (0x1 << 1) +#define DISASSEMBLY_OMIT_FNAME (0x1 << 2) struct ui_out; struct ui_file; extern void gdb_disassembly (struct gdbarch *gdbarch, struct ui_out *uiout, - char *file_string, - int mixed_source_and_assembly, - int how_many, CORE_ADDR low, CORE_ADDR high); + char *file_string, int flags, int how_many, + CORE_ADDR low, CORE_ADDR high); /* Print the instruction at address MEMADDR in debugged memory, on STREAM. Returns the length of the instruction, in bytes, |