+2019-08-15 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-stack.c (tui_initialize_static_data): Remove.
+ * tui/tui-interp.c (tui_interp::init): Don't call
+ tui_initialize_static_data.
+ * tui/tui-data.h (tui_initialize_static_data): Don't declare.
+
2019-08-15 Tom Tromey <tom@tromey.com>
* tui/tui-layout.c (tui_default_win_viewport_height): Don't
/* Data Manipulation Functions. */
-extern void tui_initialize_static_data (void);
extern struct tui_win_info *tui_partial_win_by_name (const char *);
extern enum tui_layout_type tui_current_layout (void);
extern int tui_term_height (void);
/* Install exit handler to leave the screen in a good shape. */
atexit (tui_exit);
- tui_initialize_static_data ();
-
tui_initialize_io ();
tui_initialize_win ();
if (ui_file_isatty (gdb_stdout))
return &_locator;
}
-void
-tui_initialize_static_data ()
-{
- tui_gen_win_info *win = tui_locator_win_info_ptr ();
- win->width =
- win->height =
- win->origin.x =
- win->origin.y =
- win->viewport_height = 0;
- win->handle = NULL;
- win->is_visible = false;
- win->title = 0;
-}
-
-
/* Create the status line to display as much information as we can on
this single line: target name, process number, current function,
current line, current PC, SingleKey mode. */