aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2015-06-21 22:54:10 -0400
committerPatrick Palka <patrick@parcs.ath.cx>2015-06-26 10:11:28 -0400
commit2e52ae68e7cedc3a1f9908c98ee60a8602705835 (patch)
treea5cf504057eace75c9b3eea3adaa7ab0a8f6e41b /gdb/top.c
parent6e22494e5076e4d3c0b2c2785883162f83db499e (diff)
downloadgdb-2e52ae68e7cedc3a1f9908c98ee60a8602705835.zip
gdb-2e52ae68e7cedc3a1f9908c98ee60a8602705835.tar.gz
gdb-2e52ae68e7cedc3a1f9908c98ee60a8602705835.tar.bz2
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.
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions