diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 14:27:28 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:33 -0600 |
commit | 2042b506c85274b4c652fbc9291be65b2550104d (patch) | |
tree | 4ce0d7619ac9c86214b93bf7a7a73d3c4fcde801 /gdb/progspace.c | |
parent | 56122977c04496325ca9d83231e7751ab94d6b14 (diff) | |
download | binutils-2042b506c85274b4c652fbc9291be65b2550104d.zip binutils-2042b506c85274b4c652fbc9291be65b2550104d.tar.gz binutils-2042b506c85274b4c652fbc9291be65b2550104d.tar.bz2 |
Introduce the refresh method
This adds tui_win_info::refresh and updates tui_source_window_base to
implement it as well. This lets us simplify tui_refresh_all, removing
a check of the window type.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.c (tui_win_info::refresh)
(tui_source_window_base::refresh): New methods.
(tui_refresh_all): Call the refresh method.
* tui/tui-data.h (struct tui_win_info)
(struct tui_source_window_base) <refresh>: New method.
Diffstat (limited to 'gdb/progspace.c')
0 files changed, 0 insertions, 0 deletions