Don't track the contents of the execution info window
authorTom Tromey <tom@tromey.com>
Sat, 6 Jul 2019 14:10:50 +0000 (08:10 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 13 Aug 2019 20:52:10 +0000 (14:52 -0600)
commit5216580d7a1134a9349ec045b475f5b40f499e5e
tree4c6a230c52ac2e2344d1d004ad0a1aa688fdb5d5
parent93858ad34ec1d2250d33365468c6721023786f51
Don't track the contents of the execution info window

The curses library keeps track of the contents of each window, and can
redraw the screen as needed.  This means that in most cases is no need
for the TUI windows to also keep track of their contents.  This patch
removes content tracking from the execution window, leaving that to
curses.

gdb/ChangeLog
2019-08-13  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.h (struct tui_exec_info_window)
<~tui_exec_info_window, maybe_allocate_content, get_content,
m_content>: Remove.
(struct tui_source_window_base) <set_exec_info_content,
show_exec_info_content>: Don't declare.
* tui/tui-winsource.c
(tui_exec_info_window::maybe_allocate_content): Remove.
(tui_source_window_base::update_exec_info): Rename from
set_exec_info_content.
(tui_source_window_base::show_exec_info_content)
(tui_source_window_base::update_exec_info): Remove.
gdb/ChangeLog
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h
This page took 0.02531 seconds and 4 git commands to generate.