aboutsummaryrefslogtreecommitdiff
path: root/gdb/disasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r--gdb/disasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c
index 3cde2ea..cf54f8a 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -344,6 +344,7 @@ gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file)
di.arch = gdbarch_bfd_arch_info (gdbarch)->arch;
di.mach = gdbarch_bfd_arch_info (gdbarch)->mach;
di.endian = gdbarch_byte_order (gdbarch);
+ disassemble_init_for_target (&di);
return di;
}