Change tui_update_exec_info to be a method
authorTom Tromey <tom@tromey.com>
Fri, 5 Jul 2019 23:24:07 +0000 (17:24 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 13 Aug 2019 20:52:09 +0000 (14:52 -0600)
commit7ba913dcdf2f94cbd501d763f0fc55a46d10331c
treee9e260dbe1a484891ac4c20352b4b3088d829632
parent37a4a1310484490878ce0af9ea1924d6c7dbec7b
Change tui_update_exec_info to be a method

This changes tui_update_exec_info to be a method on
tui_source_window_base.

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

* tui/tui-winsource.h (struct tui_source_window_base)
<update_exec_info>: Declare.
(tui_update_exec_info): Don't declare.
* tui/tui-winsource.c (tui_update_source_window_as_is)
(tui_source_window_base::refresh_all)
(tui_update_all_breakpoint_info): Update.
(tui_source_window_base::update_exec_info): Rename from
tui_update_exec_info.
* tui/tui-stack.c (tui_show_frame_info): Update.
gdb/ChangeLog
gdb/tui/tui-stack.c
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h