Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Vinod pandarinathan <vinod.pandarinathan@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: MIPS 64 bit addressing query
Date: Mon, 06 Aug 2007 01:51:00 -0000	[thread overview]
Message-ID: <20070806015122.GA29212@caradoc.them.org> (raw)
In-Reply-To: <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


  parent reply	other threads:[~2007-08-06  1:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-06  0:57 Vinod pandarinathan
2007-08-06  1:20 ` David Daney
2007-08-06  1:51 ` Daniel Jacobowitz [this message]
2007-08-06 18:24   ` Vinod pandarinathan
2007-08-06 18:36     ` Daniel Jacobowitz
2007-08-06 18:37     ` Paul Koning
2007-08-14 20:20       ` Vinod pandarinathan
2007-08-14 20:32         ` Daniel Jacobowitz
2007-08-14 21:52           ` Vinod pandarinathan
2007-08-14 21:59             ` Daniel Jacobowitz
2007-08-14 22:38               ` Vinod pandarinathan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070806015122.GA29212@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=vinod.pandarinathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox