Rework last checkin to the following:
authorIan Lance Taylor <ian@airs.com>
Sun, 13 Jun 1999 17:04:42 +0000 (17:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 13 Jun 1999 17:04:42 +0000 (17:04 +0000)
commit7d4210142a44bb1b2f121b7b82db3da3ec9fc374
tree84cfa7faffa88dd56fbbdec3907302d0f31a1885
parent42751cf354f999d77243bdf2171602bfc08fce5f
Rework last checkin to the following:
* i386-dis.c (FWAIT_OPCODE): Define.
(used_prefixes): New static variable.
(fetch_data): Don't print an error message if we have already
fetched some bytes successfully.
(ckprefix): Clear used_prefixes.  Use FWAIT_OPCODE, not 0x9b.
(prefix_name): New static function.
(print_insn_i386): If setjmp fails, indicating a data error, but
we have managed to fetch some bytes, print the first one as a
prefix or a .byte pseudo-op.  If fwait is followed by a non
floating point instruction, print the first prefix.  Set
used_prefixes when prefixes are used.  If any prefixes were not
used after disassembling the instruction, print the first prefix
instead of printing the instruction.
(putop): Set used_prefixes when prefixes are used.
(append_seg, OP_E, OP_G, OP_REG, OP_I, OP_sI, OP_J): Likewise.
(OP_DIR, OP_SIMD_Suffix): Likewise.
opcodes/i386-dis.c