Change tui_update_breakpoint_info to be a method
authorTom Tromey <tom@tromey.com>
Fri, 12 Jul 2019 00:27:02 +0000 (18:27 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 16 Aug 2019 17:28:34 +0000 (11:28 -0600)
commit2ddaf614439b50e6019c5218f2fbfc0d14194e96
treeaf126b5d957b0eb1494a07640bd417aa3e2ebac6
parent017f982820d408fb49657b9b9b8f45a9616c5f21
Change tui_update_breakpoint_info to be a method

This changes tui_update_breakpoint_info to be a method on
tui_source_window_base.

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

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