Turn tui_show_exec_info_content into a method
authorTom Tromey <tom@tromey.com>
Fri, 5 Jul 2019 23:35:13 +0000 (17:35 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 13 Aug 2019 20:52:09 +0000 (14:52 -0600)
commit8270ac6229ac323fe7dfc1915b3f52d77df6bb9a
tree3f6ec7d90df58f2cebc96eae891408cb54d19d8c
parent7b56485db5187e6c63f330e1eb35f63b50327b74
Turn tui_show_exec_info_content into a method

This changes tui_show_exec_info_content to be a method on
tui_source_window_base.  As it is only called by other methods on this
class, it can be private.

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

* tui/tui-winsource.h (struct tui_source_window_base)
<show_exec_info_content>: Declare.
(tui_show_exec_info_content): Don't declare.
* tui/tui-winsource.c
(tui_source_window_base::show_exec_info_content): Rename from
tui_show_exec_info_content.
(tui_source_window_base::update_exec_info): Update.
gdb/ChangeLog
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h