diff options
author | Alan Modra <amodra@gmail.com> | 2001-11-14 03:15:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-11-14 03:15:28 +0000 |
commit | e396998b180f1f9b4dea47eef990f696d73cf940 (patch) | |
tree | 28af8cb3ac04140e306333d01b87978e4de65401 /binutils | |
parent | d7dfd553d70967ef7384c7cf5b5474b8c4dc68c2 (diff) | |
download | gdb-e396998b180f1f9b4dea47eef990f696d73cf940.zip gdb-e396998b180f1f9b4dea47eef990f696d73cf940.tar.gz gdb-e396998b180f1f9b4dea47eef990f696d73cf940.tar.bz2 |
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.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/doc/binutils.texi | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a35ea64..66cb990 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2001-11-14 Alan Modra <amodra@bigpond.net.au> + + * doc/binutils.texi (objdump): Document x86 -M options. + 2001-11-13 Keith Walker <keith.walker@arm.com> * readelf.c (read_and_display_attr_value): New function to diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 45878cb..8a48607 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -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 |