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/exceptions.c | |
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/exceptions.c')
0 files changed, 0 insertions, 0 deletions