From: Markus Deuling Date: Mon, 17 Mar 2008 19:32:56 +0000 (+0000) Subject: * i386-tdep.c (i386_print_insn): Remove unnecessary call to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c8201d1f1a854cc8a3f5ecd04776cf6770eeba8;p=binutils-gdb.git * i386-tdep.c (i386_print_insn): Remove unnecessary call to gdbarch_bfd_arch_info. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d94d7cf9d58..b28267e0863 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-03-17 Markus Deuling + + * i386-tdep.c (i386_print_insn): Remove unnecessary call to + gdbarch_bfd_arch_info. + 2008-03-17 Joel Brobecker * aix-thread.c (pdc_read_regs): Minor reformatting. diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index dc21706e7f1..9215a526025 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2138,7 +2138,6 @@ i386_print_insn (bfd_vma pc, struct disassemble_info *info) /* FIXME: kettenis/20020915: Until disassembler_options is properly constified, cast to prevent a compiler warning. */ info->disassembler_options = (char *) disassembly_flavor; - info->mach = gdbarch_bfd_arch_info (current_gdbarch)->mach; return print_insn_i386 (pc, info); }