#include "gdb_curses.h"
+static struct tui_locator_window _locator;
+
/* Get a printable name for the function at the address.
The symbol name is demangled if demangling is turned on.
Returns a pointer to a static area holding the result. */
static void tui_update_command (const char *, int);
\f
+/* Accessor for the locator win info. Answers a pointer to the static
+ locator win info struct. */
+struct tui_locator_window *
+tui_locator_win_info_ptr (void)
+{
+ 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. */