Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/opcodes Expand undefined number.



details:   https://anonhg.NetBSD.org/src/rev/8af1e11c6426
branches:  trunk
changeset: 342953:8af1e11c6426
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jan 15 15:37:05 2016 +0000

description:
Expand undefined number.

diffstat:

 external/gpl3/gdb/dist/opcodes/arm-dis.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0ecd795f5bde -r 8af1e11c6426 external/gpl3/gdb/dist/opcodes/arm-dis.c
--- a/external/gpl3/gdb/dist/opcodes/arm-dis.c  Fri Jan 15 15:14:02 2016 +0000
+++ b/external/gpl3/gdb/dist/opcodes/arm-dis.c  Fri Jan 15 15:37:05 2016 +0000
@@ -2105,7 +2105,7 @@
 
                    /* Is ``imm'' a negative number?  */
                    if (imm & 0x40)
-                     imm |= (-1 << 7);
+                     imm |= -128;
 
                    func (stream, "%d", imm);
                  }



Home | Main Index | Thread Index | Old Index