* mips-tdep.c (mips_addr_bits_remove): Don't shift by 32

From Ian Taylor.
This commit is contained in:
simonb 2003-10-26 00:08:23 +00:00
parent 793c50136c
commit 969d07f64f
1 changed files with 1 additions and 1 deletions

View File

@ -1613,7 +1613,7 @@ mips_addr_bits_remove (CORE_ADDR addr)
{
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