summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-03-23 19:21:16 +0000
committerH.J. Lu <hjl@lucon.org>2005-03-23 19:21:16 +0000
commitf88772b16322f08c5771497bc717e193817defa2 (patch)
tree02502761a6a7b3759877403ccbc309a8791ac222
parentdb5095470822de3a24eaa1830021910aef8419df (diff)
downloadgdb-f88772b16322f08c5771497bc717e193817defa2.tar.gz
2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
* cris-dis.c (print_with_operands): Use ~31L for long instead of ~31.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/cris-dis.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index db375c204b9..38a17eb8fe9 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * cris-dis.c (print_with_operands): Use ~31L for long instead
+ of ~31.
+
2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
* mmix-opc.c (O): Revert the last change.
diff --git a/opcodes/cris-dis.c b/opcodes/cris-dis.c
index d576c108b40..c9bcec7708b 100644
--- a/opcodes/cris-dis.c
+++ b/opcodes/cris-dis.c
@@ -1375,7 +1375,7 @@ print_with_operands (opcodep, insn, buffer, addr, info, prefix_opcodep,
break;
case 'i':
- tp = format_dec ((insn & 32) ? (insn & 31) | ~31 : insn & 31, tp, 1);
+ tp = format_dec ((insn & 32) ? (insn & 31) | ~31L : insn & 31, tp, 1);
break;
case 'P':