From: Jim Blandy Date: Wed, 23 Feb 2005 16:06:58 +0000 (+0000) Subject: * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2877b4cc78309cc1574797d450da434aebd1955b;p=binutils-gdb.git * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c3a9e270dc..72983a7ca1f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-02-23 Jim Blandy + + * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target. + 2005-02-23 Andrew Cagney * cli/cli-dump.c (dump_bfd_file): Replace magic constant with diff --git a/gdb/disasm.c b/gdb/disasm.c index 3cde2ea9040..cf54f8a50a9 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; }