Re: MIPS 64 bit addressing query

Daniel Jacobowitz
2007-08-06T01:51:29Z

On Sun, Aug 05, 2007 at 05:57:36PM -0700, Vinod pandarinathan wrote:
> We are using MIPS 3 ISA and since breakpoint is set at an address
> where the 32nd bit is set to 1 the 64 bit sign extended values does
> not compare with the unsigned
> break point address.
>
> Can you please explain how we can fix the problem? Should I sign
> extend the break point address too ?

Wherever you got the zero extended address, there's the bug. All
addresses should be sign extended when working with the MIPS target,
even most of the ones from the command line.

As David said, I suggest you upgrade before you try modifying GDB.

--
Daniel Jacobowitz
CodeSourcery