This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: libopcodes 386 interface
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "fabramos" <fabramos at bol dot com dot br>
- Cc: "binutils" <binutils at sources dot redhat dot com>
- Date: 02 Aug 2004 16:45:18 -0400
- Subject: Re: libopcodes 386 interface
- References: <I1TQMV$2F03BCAC69A82D357051B2CCA2D0B6C1@bol.com.br>
"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