aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-07-11 17:58:43 +0000
committerJeff Law <law@redhat.com>1996-07-11 17:58:43 +0000
commit0decb7fde3e3c5dd32a7850fc3cacea8e11bcdb3 (patch)
tree94b7fe7ea824f908bdc29674d021a42546acb98e
parent062aded9d1d7adebb5df9f7cbfb9dcbbca94da99 (diff)
downloadgdb-0decb7fde3e3c5dd32a7850fc3cacea8e11bcdb3.zip
gdb-0decb7fde3e3c5dd32a7850fc3cacea8e11bcdb3.tar.gz
gdb-0decb7fde3e3c5dd32a7850fc3cacea8e11bcdb3.tar.bz2
* h8300-dis.c (bfd_h8_disassemble): Don't set plen for
3bit immediate operands. So we disassemble bXXX #IMM,@ADDRESS insns correctly.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/h8300-dis.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 423d9ee..4daebc5 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
+
+ * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
+ 3bit immediate operands.
+
Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com>
* Released binutils 2.7.
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c
index 2cf880e..3ba4d8b 100644
--- a/opcodes/h8300-dis.c
+++ b/opcodes/h8300-dis.c
@@ -243,7 +243,6 @@ bfd_h8_disassemble (addr, info, mode)
}
else if (looking_for & L_3)
{
- plen = 3;
bit = thisnib;
}
else if (looking_for & L_2)