[Top] [All Lists]

gdb disassemble bug

Subject: gdb disassemble bug
From: Florian Lohoff <>
Date: Fri, 8 Feb 2002 22:58:51 +0100
Organization: rfc822 - pure communication
User-agent: Mutt/1.3.27i
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.

Florian Lohoff                     +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium

Attachment: pgp5V8_YrnuN1.pgp
Description: PGP signature

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