aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32r-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-01-15 18:35:08 +0000
committerNick Clifton <nickc@redhat.com>1998-01-15 18:35:08 +0000
commit0d0bb9140bcea4e717366c9f2a3235ed5566d1b8 (patch)
tree3e2bf17d3cee763ce8dda5345f2acd7ee4505691 /opcodes/m32r-dis.c
parentd061232e202191f88f04b924d58d86a09db40fe6 (diff)
downloadgdb-0d0bb9140bcea4e717366c9f2a3235ed5566d1b8.zip
gdb-0d0bb9140bcea4e717366c9f2a3235ed5566d1b8.tar.gz
gdb-0d0bb9140bcea4e717366c9f2a3235ed5566d1b8.tar.bz2
Only look for two parallel instructions when we are at a 32 bit boundary
Diffstat (limited to 'opcodes/m32r-dis.c')
-rw-r--r--opcodes/m32r-dis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/m32r-dis.c b/opcodes/m32r-dis.c
index d320d53..05555b2 100644
--- a/opcodes/m32r-dis.c
+++ b/opcodes/m32r-dis.c
@@ -259,6 +259,7 @@ print_insn (pc, info, buf, buflen)
/* Special case - a 32 bit instruction which is actually two 16 bit instructions
being executed in parallel. */
if (buflen == 32
+ && (pc & 0x3) == 0
&& ((insn_value & 0x80008000) == 0x00008000))
{
if (info->endian == BFD_ENDIAN_BIG)