Subject: Re: Using objdump from x86 to disassemble MIPS binaries
To: Gilbert Fernandes <gilbert.fernandes@spamcop.net>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
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

-- 
David Laight: david@l8s.co.uk