diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-05 17:14:46 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-13 14:52:09 -0600 |
commit | b4ef5aeb3a1880490f9441655d9de74727c9063a (patch) | |
tree | 991ca037ba947b6b55c5ae26f2b654df62e839b6 /gdb/tui/tui-wingeneral.h | |
parent | fede52738f3ed3e375d84197380ae1a6cd35c6fe (diff) | |
download | gdb-b4ef5aeb3a1880490f9441655d9de74727c9063a.zip gdb-b4ef5aeb3a1880490f9441655d9de74727c9063a.tar.gz gdb-b4ef5aeb3a1880490f9441655d9de74727c9063a.tar.bz2 |
Change tui_check_and_display_highlight_if_needed to be a method
This changes tui_check_and_display_highlight_if_needed to be a method
on tui_win_info. This makes it clear that the NULL check in that
function is not needed, so it is removed here.
gdb/ChangeLog
2019-08-13 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.c (tui_erase_source_content)
(tui_show_source_content, tui_source_window_base::refresh_all):
Update.
* tui/tui-wingeneral.h
(tui_check_and_display_highlight_if_needed): Don't declare.
* tui/tui-wingeneral.c
(tui_win_info::check_and_display_highlight_if_needed): Rename from
check_and_display_highlight_if_needed.
* tui/tui-win.c (tui_rehighlight_all)
(tui_win_info::make_visible_with_new_height): Update.
* tui/tui-regs.c (tui_data_window::display_registers_from_line)
(tui_data_window::erase_data_content)
(tui_data_window::display_all_data): Update.
* tui/tui-data.h (struct tui_win_info)
<check_and_display_highlight_if_needed>: Declare.
Diffstat (limited to 'gdb/tui/tui-wingeneral.h')
-rw-r--r-- | gdb/tui/tui-wingeneral.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h index 051be6d..54d6eb6 100644 --- a/gdb/tui/tui-wingeneral.h +++ b/gdb/tui/tui-wingeneral.h @@ -33,7 +33,6 @@ extern void tui_make_all_invisible (void); extern void tui_unhighlight_win (struct tui_win_info *); extern void tui_make_window (struct tui_gen_win_info *, enum tui_box); extern void tui_highlight_win (struct tui_win_info *); -extern void tui_check_and_display_highlight_if_needed (struct tui_win_info *); extern void tui_refresh_all (); extern void tui_delete_win (WINDOW *window); |