libopcodes 386 interface

Ian Lance Taylor ian@wasabisystems.com
Mon Aug 2 20:45:00 GMT 2004


"fabramos" <fabramos@bol.com.br> writes:

>   I've been trying to use the libopcodes API, under the
> 386 arch, in a objdump-like program. I can disassemble
> a buffer and print it, but the disasm_info structure
> always return 0 in the "target" field. I read in the
> docs that this info are not returned for some archs.
> Is the 386 one of them or I am making a mistake?

Only a few disassemblers set the target field.  The i386 disassembler
is one of the many which does not.

Ian



More information about the Binutils mailing list