aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-wingeneral.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-22 11:48:26 -0700
committerTom Tromey <tom@tromey.com>2020-02-22 11:48:37 -0700
commit865a5aec04b504d33c83baf5e05f6cdf95ac9dc3 (patch)
treecb6615c32bc06e7163e5e58b717cad91f5a496ed /gdb/tui/tui-wingeneral.h
parente098d18cfc12c750616b7c934b9a9057f71f3553 (diff)
downloadgdb-865a5aec04b504d33c83baf5e05f6cdf95ac9dc3.zip
gdb-865a5aec04b504d33c83baf5e05f6cdf95ac9dc3.tar.gz
gdb-865a5aec04b504d33c83baf5e05f6cdf95ac9dc3.tar.bz2
Remove tui_delete_invisible_windows and tui_make_all_invisible
tui_delete_invisible_windows is only needed after applying a layout, and tui_make_all_invisible is only needed before applying a layout. This patch removes these functions, in favor of doing this management directly in tui_apply_current_layout. This is needed so that the lifetimes of non-built-in windows will be properly managed. gdb/ChangeLog 2020-02-22 Tom Tromey <tom@tromey.com> * tui/tui-wingeneral.h (tui_make_all_invisible): Don't declare. * tui/tui-wingeneral.c (tui_make_all_invisible): Remove. * tui/tui-win.c (tui_resize_all): Don't call tui_delete_invisible_windows. * tui/tui-layout.c (tui_apply_current_layout): Delete windows when done. (tui_set_layout): Update. (tui_add_win_to_layout): Don't call tui_delete_invisible_windows. * tui/tui-data.h (tui_delete_invisible_windows): Don't declare. * tui/tui-data.c (tui_delete_invisible_windows): Remove. Change-Id: Ia3603b021dcb7ec31700a4a32640cd09b00b8f3b
Diffstat (limited to 'gdb/tui/tui-wingeneral.h')
-rw-r--r--gdb/tui/tui-wingeneral.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/tui/tui-wingeneral.h b/gdb/tui/tui-wingeneral.h
index a28f27c..9302342 100644
--- a/gdb/tui/tui-wingeneral.h
+++ b/gdb/tui/tui-wingeneral.h
@@ -26,9 +26,6 @@
struct tui_win_info;
-/* Makes all windows invisible. */
-extern void tui_make_all_invisible (void);
-
extern void tui_unhighlight_win (struct tui_win_info *);
extern void tui_highlight_win (struct tui_win_info *);
extern void tui_refresh_all ();