* i386-tdep.c (i386_print_insn): Remove unnecessary call to

gdbarch_bfd_arch_info.
This commit is contained in:
Markus Deuling 2008-03-17 19:32:56 +00:00
parent 46bba1eff5
commit 1c8201d1f1
2 changed files with 5 additions and 1 deletions

View 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.

View 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);
}