diff options
author | Jan Beulich <jbeulich@suse.com> | 2020-06-26 16:42:55 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2020-06-26 16:42:55 +0200 |
commit | 2a1bb84c67d974b10f2ea76f8ed43244f19ed21e (patch) | |
tree | 2325a9a4109ea5199526833165a56fb365ad81dc /binutils/doc | |
parent | f53b3eeb677aace413d45b4b3c9d23d57d7167fc (diff) | |
download | gdb-2a1bb84c67d974b10f2ea76f8ed43244f19ed21e.zip gdb-2a1bb84c67d974b10f2ea76f8ed43244f19ed21e.tar.gz gdb-2a1bb84c67d974b10f2ea76f8ed43244f19ed21e.tar.bz2 |
x86: fix processing of -M disassembler option
Multiple -M options can be specified in any order. Therefore stright
assignment to fields affected needs to be avoided, such that earlier
options' effects won't be discarded. This was in particular a problem
for -Msuffix followed by certain of the other sub-options.
While updating documentation, take the liberty and also drop the
redundant mentioning of being able to comma-separate multiple options.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 2cf8187..b93cde0 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -2471,8 +2471,7 @@ option or whether instruction notes should be generated as comments in the disasssembly using @option{-M notes}. 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. +switch, but allow finer grained control. @table @code @item x86-64 @itemx i386 @@ -2503,8 +2502,10 @@ will be overridden if @code{x86-64}, @code{i386} or @code{i8086} appear later in the option string. @item suffix -When in AT&T mode, instructs the disassembler to print a mnemonic -suffix even when the suffix could be inferred by the operands. +When in AT&T mode and also for a limited set of instructions when in Intel +mode, instructs the disassembler to print a mnemonic suffix even when the +suffix could be inferred by the operands or, for certain instructions, the +execution mode's defaults. @end table For PowerPC, the @option{-M} argument @option{raw} selects |