aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-03-23 19:21:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-03-23 19:21:16 +0000
commit85064c7906dc9d939d2f4fab29d5aa3020b59538 (patch)
tree5f90806325cbaf0f280e2797184ca2da894e0260 /opcodes
parentb3041f52a52b5576a8f86c75466e75316841f92a (diff)
downloadgdb-85064c7906dc9d939d2f4fab29d5aa3020b59538.zip
gdb-85064c7906dc9d939d2f4fab29d5aa3020b59538.tar.gz
gdb-85064c7906dc9d939d2f4fab29d5aa3020b59538.tar.bz2
2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
* cris-dis.c (print_with_operands): Use ~31L for long instead of ~31.
Diffstat (limited to 'opcodes')
-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 db375c2..38a17eb 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 d576c10..c9bcec7 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':