forked from Imagelibrary/binutils-gdb
binutils/ChangeLog
* doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
This commit is contained in:
@@ -1569,6 +1569,19 @@ using the switch @option{--disassembler-options=force-thumb}. This can be
|
||||
useful when attempting to disassemble thumb code produced by other
|
||||
compilers.
|
||||
|
||||
For the x86, some of the options duplicate functions of the @option{-m}
|
||||
switch, but allow finer grained control. Multiple selections from the
|
||||
following may be specified as a comma separated string.
|
||||
@option{x86_64}, @option{i386} and @option{i8086} select disassembly for
|
||||
the given architecture. @option{intel} and @option{att} select between
|
||||
intel syntax mode and AT&T syntax mode. @option{addr32},
|
||||
@option{addr16}, @option{data32} and @option{data16} specify the default
|
||||
address size and operand size. These four options will be overridden if
|
||||
@option{x86_64}, @option{i386} or @option{i8086} appear later in the
|
||||
option string. Lastly, @option{suffix}, when in AT&T mode,
|
||||
instructs the dissassembler to print a mnemonic suffix even when the
|
||||
suffix could be inferred by the operands.
|
||||
|
||||
@item -p
|
||||
@itemx --private-headers
|
||||
Print information that is specific to the object file format. The exact
|
||||
|
||||
Reference in New Issue
Block a user