Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/toolchain/gdb Oops: Get the test for 32-bitness the...



details:   https://anonhg.NetBSD.org/src/rev/52ac105d5c00
branches:  trunk
changeset: 516301:52ac105d5c00
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sat Oct 20 17:14:36 2001 +0000

description:
Oops: Get the test for 32-bitness the right way around.

diffstat:

 gnu/dist/toolchain/gdb/arm-tdep.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r dd20369809c4 -r 52ac105d5c00 gnu/dist/toolchain/gdb/arm-tdep.c
--- a/gnu/dist/toolchain/gdb/arm-tdep.c Sat Oct 20 16:57:42 2001 +0000
+++ b/gnu/dist/toolchain/gdb/arm-tdep.c Sat Oct 20 17:14:36 2001 +0000
@@ -270,7 +270,7 @@
 CORE_ADDR
 arm_addr_bits_remove (CORE_ADDR val)
 {
-  if (arm_apcs_32)
+  if (!arm_apcs_32)
     return (val & 0x03fffffc);
   else if (arm_pc_is_thumb (val))
     return (val & 0xfffffffe);



Home | Main Index | Thread Index | Old Index