diff options
Diffstat (limited to 'cpu/epiphany.opc')
-rw-r--r-- | cpu/epiphany.opc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/epiphany.opc b/cpu/epiphany.opc index fefb396..903eccf 100644 --- a/cpu/epiphany.opc +++ b/cpu/epiphany.opc @@ -349,15 +349,16 @@ epiphany_print_insn (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info) int status; info->bytes_per_chunk = 2; + info->bytes_per_line = 4; /* Attempt to read the base part of the insn. */ - info->bytes_per_line = buflen = cd->base_insn_bitsize / 8; + buflen = cd->base_insn_bitsize / 8; status = (*info->read_memory_func) (pc, buf, buflen, info); /* Try again with the minimum part, if min < base. */ if (status != 0 && (cd->min_insn_bitsize < cd->base_insn_bitsize)) { - info->bytes_per_line = buflen = cd->min_insn_bitsize / 8; + buflen = cd->min_insn_bitsize / 8; status = (*info->read_memory_func) (pc, buf, buflen, info); } |