aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-07-18 11:34:41 +0000
committerNick Clifton <nickc@redhat.com>2003-07-18 11:34:41 +0000
commit31e0f3cd45f5e24eb497bcbb1eec8e22b387ed9c (patch)
tree7f4a6c5fe2608e2f29d8599219254119482133e1 /binutils/doc
parent278a7cf7f0a800f2d1ed8bc3609c78a83cf2efb8 (diff)
downloadgdb-31e0f3cd45f5e24eb497bcbb1eec8e22b387ed9c.zip
gdb-31e0f3cd45f5e24eb497bcbb1eec8e22b387ed9c.tar.gz
gdb-31e0f3cd45f5e24eb497bcbb1eec8e22b387ed9c.tar.bz2
* objdump.c (main) :Accept multiple -M switch.
* doc/binutils.texi: Document that multiple -M switches are accepted and that a single -M switch can contain comma separated options. * arm-dis.c (parse_arm_disassembler_option): Do not expect option string to be NUL terminated. (parse_disassembler_options): Allow options to be space or comma separated.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi12
1 files changed, 3 insertions, 9 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 85025db..256acf0 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -1625,15 +1625,9 @@ architectures with the @option{-i} option.
@item -M @var{options}
@itemx --disassembler-options=@var{options}
Pass target specific information to the disassembler. Only supported on
-some targets. Note only a single instance of the option on the
-command line is supported. If the option occurs more than once, the
-earlier versions will be ignored. If it is necessary to specify more
-than one disassembler option then they should be placed together into
-a space separated list. ie:
-
-@smallexample
- -M"first-disassembler-option second-disassembler-option"
-@end smallexample
+some targets. If it is necessary to specify more than one
+disassembler option then multiple @option{-M} options can be used or
+can be placed together into a comma separated list.
If the target is an ARM architecture then this switch can be used to
select which register name set is used during disassembler. Specifying