[Top] [All Lists]

Re: gdb disassemble bug

To: Florian Lohoff <>
Subject: Re: gdb disassemble bug
From: Daniel Jacobowitz <>
Date: Fri, 8 Feb 2002 17:10:51 -0500
In-reply-to: <>
References: <>
User-agent: Mutt/1.3.23i
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

<Prev in Thread] Current Thread [Next in Thread>