* i386-tdep.c (i386_print_insn): Remove unnecessary call to
authorMarkus Deuling <deuling@de.ibm.com>
Mon, 17 Mar 2008 19:32:56 +0000 (19:32 +0000)
committerMarkus Deuling <deuling@de.ibm.com>
Mon, 17 Mar 2008 19:32:56 +0000 (19:32 +0000)
gdbarch_bfd_arch_info.

gdb/ChangeLog
gdb/i386-tdep.c

index d94d7cf9d584ec43143afb576e517aafa79c74bf..b28267e0863fd83ebf0073de4d112a6888b7349e 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-17  Markus Deuling  <deuling@de.ibm.com>
+
+       * i386-tdep.c (i386_print_insn): Remove unnecessary call to
+       gdbarch_bfd_arch_info.
+
 2008-03-17  Joel Brobecker  <brobecker@adacore.com>
 
        * aix-thread.c (pdc_read_regs): Minor reformatting.
index dc21706e7f1ea03f3d2d1bc5f5ab973f5ec4814e..9215a52602559d7698bbe6e02167a8562b15d9b9 100644 (file)
@@ -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);
 }