binutils-gdb/gdb/tui
Patrick Palka 2e52ae68e7 Add tab completion for TUI's "focus" command
The implementation is pretty straightforward, with the only caveat being
that the "src", "cmd", "next" and "prev" entries get delibrately added
to the completion list even when the TUI has not yet been initialized
(i.e. has never been enabled during the session), since invoking the
"focus" command with these arguments already works when the TUI has not
yet been initialized.

gdb/ChangeLog:

	* tui/tui-win.c (focus_completer): New static function.
	(_initialize_tui_win): Set the completion function of the
	"focus" command to focus_completer.

gdb/testsuite/ChangeLog:

	* gdb.base/completion.exp: Test the completion of the "focus"
	command.
2015-06-26 10:11:28 -04:00
..
ChangeLog-1998-2003
tui-command.c Remove buggy xterm workaround in tui_dispatch_ctrl_char() 2015-05-14 08:18:06 -04:00
tui-command.h
tui-data.c gdb: Remove register class specific layout names. 2015-05-21 20:47:24 +02:00
tui-data.h gdb: Remove register class specific layout names. 2015-05-21 20:47:24 +02:00
tui-disasm.c
tui-disasm.h
tui-file.c
tui-file.h
tui-hooks.c Call target_terminal_ours_for_output() before refreshing TUI's frame info 2015-06-16 09:31:05 -04:00
tui-hooks.h
tui-interp.c
tui-io.c
tui-io.h
tui-layout.c gdb: Add cleanup to avoid memory leak on error. 2015-05-21 20:49:00 +02:00
tui-layout.h gdb: Remove register class specific layout names. 2015-05-21 20:47:24 +02:00
tui-out.c
tui-regs.c gdb: Rework command completion on 'tui reg'. 2015-06-13 21:28:53 +01:00
tui-regs.h
tui-source.c TUI: avoid calling strcpy() on identical string objects 2015-04-27 21:19:58 -04:00
tui-source.h
tui-stack.c
tui-stack.h
tui-win.c Add tab completion for TUI's "focus" command 2015-06-26 10:11:28 -04:00
tui-win.h
tui-windata.c
tui-windata.h
tui-wingeneral.c
tui-wingeneral.h
tui-winsource.c
tui-winsource.h
tui.c gdb: New 'tui enable' and 'tui disable' commands. 2015-05-22 12:18:49 +02:00
tui.h gdb: Remove register class specific layout names. 2015-05-21 20:47:24 +02:00