diff options
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r-- | gdb/disasm.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 11793df..de1c7dc 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -1008,19 +1008,24 @@ show_disassembler_options_sfunc (struct ui_file *file, int from_tty, if (options == NULL) options = ""; - fprintf_filtered (file, _("The current disassembler options are '%s'\n"), + fprintf_filtered (file, _("The current disassembler options are '%s'\n\n"), options); valid_options_and_args = gdbarch_valid_disassembler_options (gdbarch); if (valid_options_and_args == NULL) - return; + { + fputs_filtered (_("There are no disassembler options available " + "for this architecture.\n"), + file); + return; + } valid_options = &valid_options_and_args->options; - fprintf_filtered (file, _("\n\ + fprintf_filtered (file, _("\ The following disassembler options are supported for use with the\n\ -'set disassembler-options <option>[,<option>...]' command:\n")); +'set disassembler-options OPTION [,OPTION]...' command:\n")); if (valid_options->description != NULL) { |