Subject: Re: Using objdump from x86 to disassemble MIPS binaries
To: Gilbert Fernandes <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 12/18/2005 17:11:58
On Sun, Dec 18, 2005 at 05:49:30PM +0100, Gilbert Fernandes wrote:
> Using NetBSD 2.1
> I got the sources for a modem firmware, with some parts only
> available in MIPS binary code.
> I wanted to use objdump to disassemble the code and look
> at some routines (checksum ones especially) but my NetBSD's objdump
> reports it only allows x86 code to be disassembled (when using
> objdump -i).
> Is there a way to disassemble MIPS code from x86 using objdump
> or should I be using something else ?
You could always build the tools for a mips netbsd build, then use
the objdump that is (IIRC) built as part of the tools.
David Laight: firstname.lastname@example.org