diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-14 17:53:16 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-14 17:53:16 +0000 |
commit | 9a619af0d3152e742fbd290baeae96a32f0abf04 (patch) | |
tree | 6e52a14dd92f9b11874ecc3aa8d83f63f6d6699b /gdb/disasm.c | |
parent | 88d4aea7473bf93d98ba72a5f955f428cd365431 (diff) | |
download | gdb-9a619af0d3152e742fbd290baeae96a32f0abf04.zip gdb-9a619af0d3152e742fbd290baeae96a32f0abf04.tar.gz gdb-9a619af0d3152e742fbd290baeae96a32f0abf04.tar.bz2 |
2010-05-14 Michael Snyder <msnyder@vmware.com>
* dbxread.c: White space.
* dcache.c: White space.
* disasm.c: White space.
* doublest.c: White space.
* dsrec.c: White space.
* dummy-frame.c: White space.
* dwarf2expr.c: White space.
* dwarf2-frame.c: White space.
* dwarf2loc.c: White space.
* dwarf2read.c: White space.
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r-- | gdb/disasm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index dd0f539..c51f0bf 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -64,6 +64,7 @@ static void dis_asm_print_address (bfd_vma addr, struct disassemble_info *info) { struct gdbarch *gdbarch = info->application_data; + print_address (gdbarch, addr, info->stream); } @@ -142,6 +143,7 @@ dump_insns (struct gdbarch *gdbarch, struct ui_out *uiout, CORE_ADDR old_pc = pc; bfd_byte data; int status; + pc += gdbarch_print_insn (gdbarch, pc, di); for (;old_pc < pc; old_pc++) { @@ -338,6 +340,7 @@ static int ATTRIBUTE_PRINTF (2, 3) fprintf_disasm (void *stream, const char *format, ...) { va_list args; + va_start (args, format); vfprintf_filtered (stream, format, args); va_end (args); @@ -349,6 +352,7 @@ static struct disassemble_info gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file) { struct disassemble_info di; + init_disassemble_info (&di, file, fprintf_disasm); di.flavour = bfd_target_unknown_flavour; di.memory_error_func = dis_asm_memory_error; |