* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.

This commit is contained in:
Jim Blandy 2005-02-23 16:06:58 +00:00
parent 33b71eeb2e
commit 2877b4cc78
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-02-23 Jim Blandy <jimb@redhat.com>
* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
2005-02-23 Andrew Cagney <cagney@gnu.org>
* cli/cli-dump.c (dump_bfd_file): Replace magic constant with

View file

@ -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;
}