This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MIPS 64 bit addressing query
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vinod pandarinathan <vinod dot pandarinathan at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Sun, 5 Aug 2007 21:51:22 -0400
- Subject: Re: MIPS 64 bit addressing query
- References: <dd9cdd980708051757h45629ce8jb8235609aa96cbd@mail.gmail.com>
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