From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g18MBLO11735 for linux-mips-outgoing; Fri, 8 Feb 2002 14:11:21 -0800 Received: from nevyn.them.org (mail@NEVYN.RES.CMU.EDU [128.2.145.6]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g18MBIA11731 for ; Fri, 8 Feb 2002 14:11:18 -0800 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16ZJEJ-0000Uy-00; Fri, 08 Feb 2002 17:10:51 -0500 Date: Fri, 8 Feb 2002 17:10:51 -0500 From: Daniel Jacobowitz To: Florian Lohoff Cc: linux-mips@oss.sgi.com Subject: Re: gdb disassemble bug Message-ID: <20020208171051.A1829@nevyn.them.org> References: <20020208215851.GA18416@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020208215851.GA18416@paradigm.rfc822.org> User-Agent: Mutt/1.3.23i Sender: owner-linux-mips@oss.sgi.com Precedence: bulk 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 : mtc0 zero,gp > 0x88166b5c : nop > 0x88166b60 : mtc0 zero,sp > 0x88166b64 : 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