Change more TUI functions to take a tui_source_window_base
authorTom Tromey <tom@tromey.com>
Mon, 17 Jun 2019 18:51:29 +0000 (12:51 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:40 +0000 (07:48 -0600)
commit21c32dca764039afd3517954f6dd0a23d0c9e16c
tree491280d42019bfe35603ac16a88aafb2c23d8f4d
parent73fbdc65a1f3da143e604d95443dc11ee86af710
Change more TUI functions to take a tui_source_window_base

Several more TUI functions should only be called with a source or
disassembly window.  This patch changes these functions so that this
can be caught at compile time.

gdb/ChangeLog
2019-06-25  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.h (tui_set_exec_info_content)
(tui_show_exec_info_content, tui_erase_exec_info_content)
(tui_clear_exec_info_content, tui_update_exec_info): Change
argument to tui_source_window_base.
* tui/tui-winsource.c (tui_set_exec_info_content)
(tui_show_exec_info_content, tui_erase_exec_info_content)
(tui_clear_exec_info_content, tui_update_exec_info): Change
argument to tui_source_window_base.
gdb/ChangeLog
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h