From f2dda4778417e2d58a5b0416ff9598f68470cbfa Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 6 Jul 2019 11:32:06 -0600 Subject: 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 * 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. --- gdb/tui/tui-wingeneral.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/tui/tui-wingeneral.c') 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" -- cgit v1.1