PR binutils/13348

* i386-dis.c (print_insn): Fix testing of array subscript.
This commit is contained in:
Nick Clifton 2011-10-26 14:46:00 +00:00
parent fd936b4c69
commit f6dd4781ef
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,11 @@
2011-10-26 Nick Clifton <nickc@redhat.com>
PR binutils/13348
* i386-dis.c (print_insn): Fix testing of array subscript.
2011-10-26 Joern Rennecke <joern.rennecke@embecosm.com>
* disassemble.c (ARCH_epiphany): Move into alphasorted spot.
* epiphany-asm.c, epiphany-opc.h: Regenerate.
2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com>

View File

@ -11331,7 +11331,7 @@ print_insn (bfd_vma pc, disassemble_info *info)
{
/* Too many prefixes or unused REX prefixes. */
for (i = 0;
all_prefixes[i] && i < (int) ARRAY_SIZE (all_prefixes);
i < (int) ARRAY_SIZE (all_prefixes) && all_prefixes[i];
i++)
(*info->fprintf_func) (info->stream, "%s",
prefix_name (all_prefixes[i], sizeflag));