Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@debian.org>
To: Florian Lohoff <flo@rfc822.org>
Cc: linux-mips@oss.sgi.com
Subject: Re: gdb disassemble bug
Date: Fri, 8 Feb 2002 17:10:51 -0500	[thread overview]
Message-ID: <20020208171051.A1829@nevyn.them.org> (raw)
In-Reply-To: <20020208215851.GA18416@paradigm.rfc822.org>

On Fri, Feb 08, 2002 at 10:58:51PM +0100, Florian Lohoff wrote:
> 
> Hi,
> while debugging arcboot and some interesting crashes related to caching
> etc i found a disassemble bug in gdb 
> 
> 0x88166b58 <probe_scache+188>:	mtc0	zero,gp
> 0x88166b5c <probe_scache+192>:	nop
> 0x88166b60 <probe_scache+196>:	mtc0	zero,sp
> 0x88166b64 <probe_scache+200>:	nop
> 
> mtc0/mfc0 do not address cpu registers but CP0 registers. The decoding
> as "gp" or "sp" is not correct. These are "TagLo" and "TagHi".

  - what version of GDB?
  - does objdump do the same thing?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

  reply	other threads:[~2002-02-08 22:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-08 21:58 gdb disassemble bug Florian Lohoff
2002-02-08 22:10 ` Daniel Jacobowitz [this message]
2002-02-08 22:18   ` Florian Lohoff
2002-02-08 22:31     ` Daniel Jacobowitz

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=20020208171051.A1829@nevyn.them.org \
    --to=dan@debian.org \
    --cc=flo@rfc822.org \
    --cc=linux-mips@oss.sgi.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