From 1c8201d1f1a854cc8a3f5ecd04776cf6770eeba8 Mon Sep 17 00:00:00 2001 From: Markus Deuling Date: Mon, 17 Mar 2008 19:32:56 +0000 Subject: [PATCH] * i386-tdep.c (i386_print_insn): Remove unnecessary call to gdbarch_bfd_arch_info. --- gdb/ChangeLog | 5 +++++ gdb/i386-tdep.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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); } -- 2.30.2