gdb: add "set style tui-current-position on|off", default to off

As discussed at:

 https://sourceware.org/pipermail/gdb-patches/2020-June/169519.html

this patch disables source and assembly code highlighting for the
text highlighted by the TUI's current position indicator, and adds a
command to enable it back.
This commit is contained in:
Pedro Alves
2022-11-01 16:45:30 +00:00
committed by Andrew Burgess
parent feb5926e8a
commit 92c1d07de5
7 changed files with 83 additions and 5 deletions

View File

@@ -296,8 +296,8 @@ cli_style_option::add_setshow_commands (enum command_class theclass,
return prefix_cmds;
}
static cmd_list_element *style_set_list;
static cmd_list_element *style_show_list;
cmd_list_element *style_set_list;
cmd_list_element *style_show_list;
/* The command list for 'set style disassembler'. */