summaryrefslogtreecommitdiff
path: root/gdb/disasm.h
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-10-23 00:49:32 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-10-23 00:49:32 +0000
commit070708f3826621e68f287acdb16b864efc72fcb9 (patch)
treeefd0caa9d803324ed628452ebbd58b9564ca4096 /gdb/disasm.h
parent5725e5f1c186b96e986040f6b260391115c4b14e (diff)
downloadgdb-070708f3826621e68f287acdb16b864efc72fcb9.tar.gz
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/disasm.h b/gdb/disasm.h
index a6f6d396d28..c92e5afa060 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,