This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[RFA] Provide cgen_disn and cgen_fields in disassemble_info
- To: Nick Duffek <nsd at redhat dot com>
- Subject: [RFA] Provide cgen_disn and cgen_fields in disassemble_info
- From: Doug Evans <dje at transmeta dot com>
- Date: Mon, 16 Jul 2001 10:24:36 -0700 (PDT)
- Cc: binutils at sources dot redhat dot com
- References: <200107161712.f6GHCrH08478@rtl.cygnus.com>
Nick Duffek writes:
> + void *cgen_insn; /* If non-null, pointer to CGEN_INSN
> + instruction descriptor. */
> + void *cgen_fields; /* If caller sets to non-null, receives
> + CGEN_FIELDS operand descriptor. */
Nit: there's a way to be typesafe here without requiring the inclusion
of cgen.h. Just declare the structs.
[or you could include opcodes/cgen.h in dis-asm.h]