This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Problems with MIPS disassembly and 'rdhwr' instruction...
- From: "Monika Chaddha" <monika at acmet dot com>
- To: "'Daniel Jacobowitz'" <drow at false dot org>
- Cc: "'Steven J. Hill'" <sjhill at realitydiluted dot com>, <gdb at sources dot redhat dot com>
- Date: Mon, 29 Aug 2005 19:17:55 +0530
- Subject: RE: Problems with MIPS disassembly and 'rdhwr' instruction...
>-----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.