linux-mips
[Top] [All Lists]

gdb disassemble bug

To: linux-mips@oss.sgi.com
Subject: gdb disassemble bug
From: Florian Lohoff <flo@rfc822.org>
Date: Fri, 8 Feb 2002 22:58:51 +0100
Organization: rfc822 - pure communication
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.27i
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".

If somebody has an idea why the kernel crashes when writing to
TagHi - Speak up ... This only seems to happen sometimes not always.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium

Attachment: pgpM3Jl7ZrHAR.pgp
Description: PGP signature

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