public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Problems with MIPS disassembly and 'rdhwr' instruction...
@ 2005-08-29 12:13 Steven J. Hill
  2005-08-29 13:05 ` Monika Chaddha
  0 siblings, 1 reply; 6+ messages in thread
From: Steven J. Hill @ 2005-08-29 12:13 UTC (permalink / raw)
  To: gdb

Greetings.

I am trying to figure out how to get 'rdhwr' instructions to be
printed when doing a disassembly in gdb on MIPS binaries. My
binaries are not compiled as mips32r2, but as mips1. This is
allowable, but it appears that gdb in 'print_insn_mips' will not
decoded the 'rdhwr' the instruction because it is a mips1 binary?
I have spent a couple of hours trying to figure out the hashing
that is done in that function as well as hacking the loop and I
have come up with nothing. Can someone help me understand the
hashing better and suggest a method/patch to allow me to get the
'rdhwrd' instructions to print instead of the hex opcode? Thanks.

-Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-30 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29 12:13 Problems with MIPS disassembly and 'rdhwr' instruction Steven J. Hill
2005-08-29 13:05 ` Monika Chaddha
2005-08-29 13:20   ` Daniel Jacobowitz
2005-08-29 13:46     ` Monika Chaddha
2005-08-30  4:04       ` Steven J. Hill
2005-08-30 12:11         ` Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).