diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-05 17:24:07 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-13 14:52:09 -0600 |
commit | 7ba913dcdf2f94cbd501d763f0fc55a46d10331c (patch) | |
tree | e9e260dbe1a484891ac4c20352b4b3088d829632 /gdb/tui/tui-winsource.h | |
parent | 37a4a1310484490878ce0af9ea1924d6c7dbec7b (diff) | |
download | gdb-7ba913dcdf2f94cbd501d763f0fc55a46d10331c.zip gdb-7ba913dcdf2f94cbd501d763f0fc55a46d10331c.tar.gz gdb-7ba913dcdf2f94cbd501d763f0fc55a46d10331c.tar.bz2 |
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.
Diffstat (limited to 'gdb/tui/tui-winsource.h')
-rw-r--r-- | gdb/tui/tui-winsource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h index 645cd67..bce889d 100644 --- a/gdb/tui/tui-winsource.h +++ b/gdb/tui/tui-winsource.h @@ -92,6 +92,7 @@ public: void show_source_content (); void set_exec_info_content (); + void update_exec_info (); /* Does the locator belong to this window? */ bool m_has_locator = false; @@ -146,7 +147,6 @@ extern void tui_erase_source_content (struct tui_source_window_base *); extern void tui_show_exec_info_content (struct tui_source_window_base *); extern void tui_erase_exec_info_content (struct tui_source_window_base *); extern void tui_clear_exec_info_content (struct tui_source_window_base *); -extern void tui_update_exec_info (struct tui_source_window_base *); extern void tui_alloc_source_buffer (struct tui_source_window_base *); extern int tui_line_is_displayed (int, |