Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gdb/gdb * mips-tdep.c (mips_addr_bits_remove): Don'...
details: https://anonhg.NetBSD.org/src/rev/deeccf0fbb8d
branches: trunk
changeset: 554200:deeccf0fbb8d
user: simonb <simonb%NetBSD.org@localhost>
date: Sun Oct 26 00:08:23 2003 +0000
description:
* mips-tdep.c (mips_addr_bits_remove): Don't shift by 32
>From Ian Taylor.
diffstat:
gnu/dist/gdb/gdb/mips-tdep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r dc0014112adb -r deeccf0fbb8d gnu/dist/gdb/gdb/mips-tdep.c
--- a/gnu/dist/gdb/gdb/mips-tdep.c Sun Oct 26 00:02:02 2003 +0000
+++ b/gnu/dist/gdb/gdb/mips-tdep.c Sun Oct 26 00:08:23 2003 +0000
@@ -1613,7 +1613,7 @@
{
if (GDB_TARGET_IS_MIPS64)
{
- if (mips_mask_address_p () && (addr >> 32 == (CORE_ADDR) 0xffffffff))
+ if (mips_mask_address_p () && ((addr >> 16) >> 16 == (CORE_ADDR) 0xffffffff))
{
/* This hack is a work-around for existing boards using
PMON, the simulator, and any other 64-bit targets that
Home |
Main Index |
Thread Index |
Old Index