RE: Problems with MIPS disassembly and 'rdhwr' instruction...

Monika Chaddha
2005-08-29T13:46:02Z

>-----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.