aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2022-11-01 16:45:30 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-11-16 10:34:19 +0000
commit92c1d07de5f1d82421fcb78331d1e7c70a24ff23 (patch)
treec6861a7da09fcb25139470f766de4ba0fef97c50 /gdb/cli
parentfeb5926e8a85837e97c268af53db743b545957f5 (diff)
downloadgdb-92c1d07de5f1d82421fcb78331d1e7c70a24ff23.zip
gdb-92c1d07de5f1d82421fcb78331d1e7c70a24ff23.tar.gz
gdb-92c1d07de5f1d82421fcb78331d1e7c70a24ff23.tar.bz2
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.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-style.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-style.c b/gdb/cli/cli-style.c
index abf6855..062347b 100644
--- a/gdb/cli/cli-style.c
+++ b/gdb/cli/cli-style.c
@@ -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'. */