diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-28 23:17:24 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:10 -0600 |
commit | fd6c75eecd92ad888cc369489b31d2ed9015130e (patch) | |
tree | a24918acae65b8422a94842553e954cb1c5ff9eb /gdb/tui/tui-win.c | |
parent | f6cc34a91c173634b6afcc1a48601a601fbace37 (diff) | |
download | gdb-fd6c75eecd92ad888cc369489b31d2ed9015130e.zip gdb-fd6c75eecd92ad888cc369489b31d2ed9015130e.tar.gz gdb-fd6c75eecd92ad888cc369489b31d2ed9015130e.tar.bz2 |
Merge refresh and refresh_window methods
Earlier refactorings introduced the refresh and refresh_window
methods, following the previous TUI code. However, these methods are
essentially the same, so this patch merges them. It also removes some
redundant refresh_window calls, because the execution window is
updated automatically by the corresponding source (or disassembly)
window.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.c (tui_show_exec_info_content): Don't call
refresh_window.
* tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Call
touchwin.
(tui_data_window::refresh_window): Call refresh_window on data
items. Always call superclass refresh_window.
(tui_win_info::refresh): Remove.
(tui_source_window_base::refresh_window): Update.
(tui_refresh_all): Update.
* tui/tui-layout.c (show_source_disasm_command): Remove call to
refresh_window.
(show_source_or_disasm_and_command): Likewise.
* tui/tui-data.h (struct tui_win_info) <refresh>: Remove.
(struct tui_source_window_base) <refresh>: Likewise.
Diffstat (limited to 'gdb/tui/tui-win.c')
0 files changed, 0 insertions, 0 deletions