From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18149 invoked by alias); 29 Aug 2005 13:46:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18113 invoked by uid 22791); 29 Aug 2005 13:45:52 -0000 Received: from ac-202-238-16-ind.acmet.com (HELO alice.acmet.com) (61.16.238.202) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 29 Aug 2005 13:45:52 +0000 Received: from monika (localhost [127.0.0.1] (may be forged)) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id j7TE5RX03395; Mon, 29 Aug 2005 19:35:27 +0530 From: "Monika Chaddha" To: "'Daniel Jacobowitz'" Cc: "'Steven J. Hill'" , Subject: RE: Problems with MIPS disassembly and 'rdhwr' instruction... Date: Mon, 29 Aug 2005 13:46:00 -0000 Message-ID: <001301c5aca0$423a29a0$5100a8c0@monika> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <20050829132005.GA21806@nevyn.them.org> X-SW-Source: 2005-08/txt/msg00109.txt.bz2 >-----Original Message----- >From: Daniel Jacobowitz [mailto:drow@false.org] >Sent: Monday, August 29, 2005 6:50 PM >To: Monika Chaddha >Cc: 'Steven J. Hill'; gdb@sources.redhat.com >Subject: Re: Problems with MIPS disassembly and 'rdhwr' instruction... > >On Mon, Aug 29, 2005 at 06:36:43PM +0530, Monika Chaddha wrote: >> As here I1 is not present in the above entry in last field so GDB is not >> printing disassembly of this instruction. You need to just add >> membership tag of MIPS1 in the required above opcode entry as following >> >> {"rdhwr", "t,K", 0x7c00003b, 0xffe007ff, WR_t, I33|I1 >> }, >> >> Please try this. It should work. > >It's not the right solution, though. Steve, just try "set architecture >mips:mips32r2". > >-- >Daniel Jacobowitz >CodeSourcery, LLC Steve asked for the stable patch so I suggested this. Yes 'set architecture' solution can be better solution and will work perfectly.