binutils-gdb/gdb/tui
Tom Tromey 7806cea723 Deprecate and replace the "tabset" command
The "tabset" command sets the tab width as used by the TUI for source
and disassembly display.

This command has long seemed to be misnamed to me.  It is more in
keeping with gdb design to call it "set tui tab-width".  Also, making
this change allows for the corresponding "show" command to work.

gdb/ChangeLog
2018-10-19  Tom Tromey  <tom@tromey.com>

	PR tui/18388:
	* NEWS: Mention tabset deprecation.
	* tui/tui-win.c (tui_tab_width, internal_tab_width): New globals.
	(update_tab_width): New function.
	(tui_set_tab_width, tui_show_tab_width): New functions.
	(tui_set_tab_width_command): Use update_tab_width.
	(_initialize_tui_win): Move to end of file.  Deprecate "tabset".
	Add new "set tui tab-width" command.
	* tui/tui-source.c (tui_set_source_content): Update.
	* tui/tui-disasm.c (tui_set_disassem_content): Update.
	* tui/tui-data.h (tui_default_tab_len, tui_set_default_tab_len):
	Don't declare.
	(tui_tab_width): Declare.
	* tui/tui-data.c (default_tab_len, tui_default_tab_len)
	(tui_set_default_tab_len): Remove.

gdb/doc/ChangeLog
2018-10-19  Tom Tromey  <tom@tromey.com>

	PR tui/18388:
	* gdb.texinfo (TUI Commands): Remove tabset documentation.
	(TUI Configuration): Document "set tui tab-width".
2018-10-19 17:22:27 -06:00
..
ChangeLog-1998-2003
tui-command.c
tui-command.h
tui-data.c Deprecate and replace the "tabset" command 2018-10-19 17:22:27 -06:00
tui-data.h Deprecate and replace the "tabset" command 2018-10-19 17:22:27 -06:00
tui-disasm.c Deprecate and replace the "tabset" command 2018-10-19 17:22:27 -06:00
tui-disasm.h
tui-file.c
tui-file.h
tui-hooks.c
tui-hooks.h
tui-interp.c
tui-io.c Minor cleanups in tui-io.c 2018-10-19 17:22:27 -06:00
tui-io.h Minor cleanups in tui-io.c 2018-10-19 17:22:27 -06:00
tui-layout.c Remove unnecessary casts from TUI 2018-10-15 23:01:32 -06:00
tui-layout.h
tui-out.c
tui-out.h
tui-regs.c Remove unnecessary casts from TUI 2018-10-15 23:01:32 -06:00
tui-regs.h
tui-source.c Deprecate and replace the "tabset" command 2018-10-19 17:22:27 -06:00
tui-source.h
tui-stack.c
tui-stack.h
tui-win.c Deprecate and replace the "tabset" command 2018-10-19 17:22:27 -06:00
tui-win.h
tui-windata.c Remove unnecessary casts from TUI 2018-10-15 23:01:32 -06:00
tui-windata.h
tui-wingeneral.c Remove unnecessary casts from TUI 2018-10-15 23:01:32 -06:00
tui-wingeneral.h
tui-winsource.c Remove unnecessary casts from TUI 2018-10-15 23:01:32 -06:00
tui-winsource.h
tui.c Remove unnecessary casts from TUI 2018-10-15 23:01:32 -06:00
tui.h