gdb/tui: Add command completion to winheight command.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 10 Jul 2015 13:06:28 +0000 (14:06 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 13 Jul 2015 14:47:06 +0000 (15:47 +0100)
commit97605e61a14518b1a0ac2a576f4f3c843743e4d5
tree3c9d279afb060323b00479958740cc3ab2f4aedd
parentc576455ba70871d7f93218f995b02bbd0a098d85
gdb/tui: Add command completion to winheight command.

Share the window name completion code from the focus command with the
winheight command, providing window name completion for the winheight
command.

gdb/ChangeLog:

* tui/tui-win.c (window_name_completer): New function.
(focus_completer): Call window_name_completer.  All old content
moved into window_name_completer.
(winheight_completer): New function.
(_initialize_tui_win): Rename variable.  Add completer to
winheight command.  Update doc string on winheight.
gdb/ChangeLog
gdb/tui/tui-win.c