binutils-gdb/gdb/tui
Tom Tromey a38da35d7b Move content_in_use to tui_source_window class
From scanning the source now, it's clear that the content_in_use field
is only used for the source window.  This patch moves the field there,
and changes it to be a bool at the same time.  (A future patch will
clean this up further, removing the field entirely.)

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

	* tui/tui-winsource.c (tui_clear_source_content)
	(tui_show_source_content, tui_show_exec_info_content)
	(tui_clear_exec_info_content): Update.
	* tui/tui-stack.c (tui_show_locator_content): Update.
	(tui_show_frame_info): Update.
	* tui/tui-source.h (tui_source_window): Don't declare.
	* tui/tui-source.c (tui_source_window::showing_source_p): Rename
	from tui_source_is_displayed.
	* tui/tui-data.h (struct tui_gen_win_info) <content_in_use>:
	Remove field.
	(struct tui_source_window_base) <content_in_use>: New field.  Now
	bool.
	(struct tui_source_window) <showing_source_p>: New method.
	(TUI_SRC_WIN): Change cast.
	* tui/tui-data.c (tui_initialize_static_data): Update.
2019-07-17 12:19:06 -06:00
..
ChangeLog-1998-2003
tui-command.c Introduce can_scroll method 2019-07-17 12:18:51 -06:00
tui-command.h
tui-data.c Move content_in_use to tui_source_window class 2019-07-17 12:19:06 -06:00
tui-data.h Move content_in_use to tui_source_window class 2019-07-17 12:19:06 -06:00
tui-disasm.c Introduce tui_source_window_base::location_matches_p method 2019-07-17 12:19:05 -06:00
tui-disasm.h Introduce methods for scrolling 2019-06-25 07:48:28 -06:00
tui-file.c
tui-file.h
tui-hooks.c Make source windows be self-updating 2019-07-17 12:19:04 -06:00
tui-hooks.h
tui-interp.c
tui-io.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
tui-io.h
tui-layout.c Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-layout.h
tui-out.c Rename field_int to field_signed 2019-07-17 10:34:05 -06:00
tui-out.h Rename field_int to field_signed 2019-07-17 10:34:05 -06:00
tui-regs.c Minor tui_reg_next / tui_reg_prev cleanup 2019-07-17 12:19:02 -06:00
tui-regs.h Introduce two more tui_data_window methods 2019-07-17 12:18:59 -06:00
tui-source.c Move content_in_use to tui_source_window class 2019-07-17 12:19:06 -06:00
tui-source.h Move content_in_use to tui_source_window class 2019-07-17 12:19:06 -06:00
tui-stack.c Move content_in_use to tui_source_window class 2019-07-17 12:19:06 -06:00
tui-stack.h
tui-win.c Remove tui_set_win_height 2019-07-17 12:19:04 -06:00
tui-win.h Introduce methods for scrolling 2019-06-25 07:48:28 -06:00
tui-windata.c Introduce two more tui_data_window methods 2019-07-17 12:18:59 -06:00
tui-windata.h Introduce tui_data_window::erase_data_content method 2019-07-17 12:18:59 -06:00
tui-wingeneral.c Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-wingeneral.h Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-winsource.c Move content_in_use to tui_source_window class 2019-07-17 12:19:06 -06:00
tui-winsource.h Remove deleted breakpoint from TUI display 2019-07-17 12:18:53 -06:00
tui.c Derive tui_win_info from tui_gen_win_info 2019-06-25 07:48:37 -06:00
tui.h Fix "auxiliary" typo 2019-06-25 07:48:49 -06:00