From 2877b4cc78309cc1574797d450da434aebd1955b Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 23 Feb 2005 16:06:58 +0000 Subject: [PATCH] * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target. --- gdb/ChangeLog | 4 ++++ gdb/disasm.c | 1 + 2 files changed, 5 insertions(+) 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; } -- 2.30.2