Skip to contentSkip to conversation

disassembling raw MIPS binary

DISCUSSION A.W.C. 2 participants 2 messages Aug 2, 2018 1 message not in the archive MIPS

lore
Share & tools
lore

A.W.C.

author
#1 lore raw
In reply to a message not in the archive

Hello,

I tried disassemble raw MIPS binary with opcodes on Linux machine. I run command

$ mips-linux-gnu-objdump -D -b bootloader.bin
mips-linux-gnu-objdump: 'a.out': No such file

how to solve this?

Regards,

#2 lore raw

Hello,

Quoted 8 lines · A.W.C.

Hello,

I tried disassemble raw MIPS binary with opcodes on Linux machine. I run command

$ mips-linux-gnu-objdump -D -b bootloader.bin
mips-linux-gnu-objdump: 'a.out': No such file

how to solve this?

The binutils mailing list may be a more appropriate place to ask things like this, since it's nothing to do with MIPS Linux.

In any case - you're providing your binary name as the bfdname argument which you probably want to be 'binary'. Then since you've no arguments left for objdump to interpret as a filename it uses its default 'a.out'.

You probably want to add 'binary' after '-b'.

Thanks,
Paul