diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-05 17:22:05 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-13 14:52:09 -0600 |
commit | 37a4a1310484490878ce0af9ea1924d6c7dbec7b (patch) | |
tree | 89d720104389cd679d40d950520dcd3a16ef0f34 /gdb/tui/tui-winsource.h | |
parent | 0bd27e079a99d93590fd078c86c0afe51f6d29b8 (diff) | |
download | gdb-37a4a1310484490878ce0af9ea1924d6c7dbec7b.zip gdb-37a4a1310484490878ce0af9ea1924d6c7dbec7b.tar.gz gdb-37a4a1310484490878ce0af9ea1924d6c7dbec7b.tar.bz2 |
Change tui_set_exec_info_content to be a method
This changes tui_set_exec_info_content to bea 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)
<set_exec_info_content>: Declare.
(tui_set_exec_info_content): Don't declare.
* tui/tui-winsource.c
(tui_source_window_base::set_exec_info_content): Rename from
tui_set_exec_info_content.
(tui_update_exec_info): Update.
Diffstat (limited to 'gdb/tui/tui-winsource.h')
-rw-r--r-- | gdb/tui/tui-winsource.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h index 8c76322..645cd67 100644 --- a/gdb/tui/tui-winsource.h +++ b/gdb/tui/tui-winsource.h @@ -91,6 +91,8 @@ public: void show_source_content (); + void set_exec_info_content (); + /* Does the locator belong to this window? */ bool m_has_locator = false; /* Execution information window. */ @@ -141,7 +143,6 @@ extern void tui_update_source_windows_with_line (struct symtab *, int); extern void tui_clear_source_content (struct tui_source_window_base *); extern void tui_erase_source_content (struct tui_source_window_base *); -extern void tui_set_exec_info_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 *); |