binutils-gdb/gdb/tui
Tom Tromey 398fdd6086 Remove the TUI execution info window
The TUI execution info window is unusual in that it is always linked
to a source or disassembly window.  Even updates of its content are
handled by the source window, so it really has no life of its own.

This patch removes this window entirely and puts its functionality
directly into the source window.  This simplifies the code somewhat.

This is a user-visible change, because now the box around the source
(or disassembly) window encloses the execution info as well.  I
consider this an improvement as well, though.

Note that this patch caused ncurses to start emitting the "CSI Z"
sequence, so I've added this to the test suite terminal
implementation.

gdb/ChangeLog
2019-08-16  Tom Tromey  <tom@tromey.com>

	* tui/tui.h (enum tui_win_type) <EXEC_INFO_WIN>: Remove.
	* tui/tui-winsource.h (struct tui_exec_info_window): Remove.
	(struct tui_source_window_base) <make_visible, refresh_window,
	resize>: Remove methods.
	<execution_info>: Remove field.
	* tui/tui-winsource.c (tui_source_window_base::do_erase_source_content)
	(tui_show_source_line, tui_source_window_base)
	(~tui_source_window_base): Update.
	(tui_source_window_base::resize)
	(tui_source_window_base::make_visible)
	(tui_source_window_base::refresh_window): Remove.
	(tui_source_window_base::update_exec_info): Update.
	* tui/tui-source.c (tui_source_window::set_contents): Update.
	* tui/tui-disasm.c (tui_disasm_window::set_contents): Update.

gdb/testsuite/ChangeLog
2019-08-16  Tom Tromey  <tom@tromey.com>

	* lib/tuiterm.exp (_csi_Z): New proc.
	* gdb.tui/basic.exp: Update window positions.
	* gdb.tui/empty.exp: Update window positions.
2019-08-16 14:17:36 -06:00
..
ChangeLog-1998-2003
tui-command.c TUI resize unification 2019-08-15 14:17:11 -06:00
tui-command.h TUI resize unification 2019-08-15 14:17:11 -06:00
tui-data.c Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui-data.h Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui-disasm.c Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui-disasm.h Introduce tui_source_window_base::set_contents method 2019-08-16 11:28:34 -06:00
tui-file.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-hooks.c Remove useless assignment from tui_remove_hooks 2019-08-16 11:28:34 -06:00
tui-hooks.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-interp.c Remove tui_initialize_static_data 2019-08-15 12:29:28 -06:00
tui-io.c TUI resize unification 2019-08-15 14:17:11 -06:00
tui-io.h Improve/fix the TUI's current source line highlight 2019-03-18 14:26:00 +00:00
tui-layout.c Remove m_has_locator 2019-08-16 11:28:33 -06:00
tui-layout.h Make tui_default_win_height static 2019-08-13 14:52:09 -06:00
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 Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui-regs.h TUI resize unification 2019-08-15 14:17:11 -06:00
tui-source.c Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui-source.h Change tui_show_symtab_source to be a method 2019-08-16 11:28:34 -06:00
tui-stack.c TUI resize unification 2019-08-15 14:17:11 -06:00
tui-stack.h TUI resize unification 2019-08-15 14:17:11 -06:00
tui-win.c Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui-win.h Introduce methods for scrolling 2019-06-25 07:48:28 -06:00
tui-wingeneral.c Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui-wingeneral.h Simplify TUI boxing 2019-08-15 12:29:28 -06:00
tui-winsource.c Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui-winsource.h Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui.c Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui.h Remove the TUI execution info window 2019-08-16 14:17:36 -06:00