diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 15:28:03 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:36 -0600 |
commit | 214a5cbea656f3ffc1e7e525627c56849347c709 (patch) | |
tree | 134f77046a642e2278612c67220a000feee4a627 /gdb/user-regs.c | |
parent | 8e2daf1532e587fee8d14aab1baad40e628065e2 (diff) | |
download | gdb-214a5cbea656f3ffc1e7e525627c56849347c709.zip gdb-214a5cbea656f3ffc1e7e525627c56849347c709.tar.gz gdb-214a5cbea656f3ffc1e7e525627c56849347c709.tar.bz2 |
Introduce set_highlight method
This introduces the tui_win_info::set_highlight method, and changes
the highlighting-related code to use bool rather than int.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.c (tui_unhighlight_win, tui_highlight_win):
Update.
* tui/tui-layout.c (make_command_window)
(show_source_disasm_command, show_data, init_and_make_win)
(show_source_or_disasm_and_command): Update.
* tui/tui-data.h (struct tui_win_info) <set_highlight>: New
method.
<can_highight, is_highlighted>: Now bool.
(tui_set_win_highlight): Don't declare.
* tui/tui-data.c (tui_set_win_highlight): Remove.
Diffstat (limited to 'gdb/user-regs.c')
0 files changed, 0 insertions, 0 deletions