aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-wingeneral.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-06 11:32:06 -0600
committerTom Tromey <tom@tromey.com>2019-08-15 12:29:28 -0600
commitf2dda4778417e2d58a5b0416ff9598f68470cbfa (patch)
treedc9dbad1c7e2b148683885251447af0d6285c645 /gdb/tui/tui-wingeneral.c
parented4a1084d725a5d1aecefc6a430d3059a77c102d (diff)
downloadgdb-f2dda4778417e2d58a5b0416ff9598f68470cbfa.zip
gdb-f2dda4778417e2d58a5b0416ff9598f68470cbfa.tar.gz
gdb-f2dda4778417e2d58a5b0416ff9598f68470cbfa.tar.bz2
Move locator code to tui-stack.c
The locator is mostly implemented in tui-stack.c. This moves the remaining bits to tui-stack.c and tui-stack.h, as appropriate. gdb/ChangeLog 2019-08-15 Tom Tromey <tom@tromey.com> * tui/tui-wingeneral.c: Include tui-stack.h. * tui/tui-stack.h (MAX_LOCATOR_ELEMENT_LEN) (struct tui_locator_window): Move from tui-data.h. * tui/tui-stack.c (_locator, tui_locator_win_info_ptr) (tui_initialize_static_data): Move from tui-data.c. * tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN) (struct tui_locator_window): Move to tui-stack.c. * tui/tui-data.c (_locator, tui_locator_win_info_ptr) (tui_initialize_static_data): Move to tui-stack.c.
Diffstat (limited to 'gdb/tui/tui-wingeneral.c')
-rw-r--r--gdb/tui/tui-wingeneral.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c
index e2d06bc..52583cf 100644
--- a/gdb/tui/tui-wingeneral.c
+++ b/gdb/tui/tui-wingeneral.c
@@ -24,6 +24,7 @@
#include "tui/tui-data.h"
#include "tui/tui-wingeneral.h"
#include "tui/tui-win.h"
+#include "tui/tui-stack.h"
#include "gdb_curses.h"