Expand "show disassembler-options" output
authorTom Tromey <tom@tromey.com>
Fri, 14 Sep 2018 13:34:05 +0000 (07:34 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 16 Sep 2018 12:25:16 +0000 (06:25 -0600)
commitf4bab6ff22a0ddb799c1c492117a15fe0501ff1e
treeb1b954858fd466e32bcf192893fb4158282fc281
parentdb4cc66567397498a9e9eaedb8d0bb8889744ef7
Expand "show disassembler-options" output

I typed this:

    (gdb) help set disassembler-options
    Set the disassembler options.
    Usage: set disassembler-options OPTION [,OPTION]...

    See: 'show disassembler-options' for valid option values.

... so I tried what it said and got:

    (gdb) show disassembler-options
    The current disassembler options are ''

This surprised me a little, so this patch adds some text to explain
the situation when an architecture does not have disassembler options.

While there I noticed one more spot where gdb was not using the GNU
style for metasyntactic variables.  This patch fixes this as well.

gdb/ChangeLog
2018-09-16  Tom Tromey  <tom@tromey.com>

* disasm.c (show_disassembler_options_sfunc): Use GNU style for
metasyntactic variables.  Print message if no disassembler options
are available.
gdb/ChangeLog
gdb/disasm.c
This page took 0.024766 seconds and 4 git commands to generate.