* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
authorJim Blandy <jimb@codesourcery.com>
Wed, 23 Feb 2005 16:06:58 +0000 (16:06 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 23 Feb 2005 16:06:58 +0000 (16:06 +0000)
gdb/ChangeLog
gdb/disasm.c

index 6c3a9e270dc247fe077bf42dde0f93afd0c5bdec..72983a7ca1f87c024a593d3d218783d48257b3e0 100644 (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
index 3cde2ea904023868201eac9d27da6f7edd93c042..cf54f8a50a9e3cfe5d67fea261ee7dc5f171a6eb 100644 (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;
 }