aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/m32r-dis.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9dc4941..bc1c89e 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jan 15 10:32:06 1998 Nick Clifton <nickc@cygnus.com>
+
+ * m32r-dis.c (print_insn): Only look for parallel 16 bit
+ instructions on a 32 bit boundary.
+
Wed Jan 14 17:37:03 1998 Nick Clifton <nickc@cygnus.com>
* m32r-asm.in: Generated file imported from cgen.
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)