This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libopcodes 386 interface


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]