gdb: Add completer for layout command.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 26 Mar 2015 14:13:57 +0000 (14:13 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 21 May 2015 18:48:10 +0000 (20:48 +0200)
commita014503004ad016d754bc9a4b143973ee18b0bbf
treeaf351f0aa2e26db40d7221932b774b2ff9f9218b
parent7bd0be3a9b06dda7a9f3d54402d6f594faa4a1b1
gdb: Add completer for layout command.

Add layout name completion for the layout command.

gdb/ChangeLog:

* tui/tui-layout.c (layout_completer): New function.
(_initialize_tui_layout): Set completer on layout command.

gdb/testsuite/ChangeLog:

* gdb.base/completion.exp: Add test for completion of layout
names.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/completion.exp
gdb/tui/tui-layout.c