diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-26 16:04:37 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:18:58 -0600 |
commit | b4094625d8a3e2b528032e2ca8d8cdecf222bb7c (patch) | |
tree | 3b5f81583eddc551a0583d5327e357e7b3b93a78 /gdb/tui/tui-windata.h | |
parent | c223a7299e2bdb604d7006842eda7165bcbf2c15 (diff) | |
download | gdb-b4094625d8a3e2b528032e2ca8d8cdecf222bb7c.zip gdb-b4094625d8a3e2b528032e2ca8d8cdecf222bb7c.tar.gz gdb-b4094625d8a3e2b528032e2ca8d8cdecf222bb7c.tar.bz2 |
Introduce tui_data_window::delete_data_content_windows method
This changes tui_delete_data_content_windows to be a method on
tui_data_window, removing some uses of the TUI_DATA_WIN global.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-windata.h (tui_delete_data_content_windows): Don't
declare.
* tui/tui-windata.c
(tui_data_window::delete_data_content_windows): Rename from
tui_delete_data_content_windows.
(tui_data_window::display_all_data)
(tui_data_window::do_scroll_vertical): Update.
* tui/tui-data.h (struct tui_data_window)
<delete_data_content_windows>: New method.
Diffstat (limited to 'gdb/tui/tui-windata.h')
-rw-r--r-- | gdb/tui/tui-windata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-windata.h b/gdb/tui/tui-windata.h index fce4e6d..419b22f 100644 --- a/gdb/tui/tui-windata.h +++ b/gdb/tui/tui-windata.h @@ -25,6 +25,5 @@ #include "tui/tui-data.h" extern void tui_erase_data_content (const char *); -extern void tui_delete_data_content_windows (void); #endif /* TUI_TUI_WINDATA_H */ |