I want to disassemble i386 machine instructions into human readable text in Raspbian.
I am a rookie Linux user and don't know the configuration of installed tools, but from what I understand I need an architecture for i386 for objdump.
objdump -D -b binary -mi386 -Maddr16,data16 binfile
binfile: file format binary
objdump: can't use supplied machine i386
Indeed, looking at the supported architectures in objdump, I can see i386 is not included.
objdump: supported architectures: arm armv2 armv2a armv3 armv3m armv4
armv4t armv5 armv5t armv5te xscale ep9312 iwmmxt iwmmxt2 plugin
How can I add i386 architecture to the list of supported architectures? Is it a pluggable definition I can just download and place in a particular location? Or do I need to modify and make a new objdump executable?
llvm-objdump --version
will tell you.