MI: Add new command -complete
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 17 May 2019 09:58:23 +0000 (10:58 +0100)
committerJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 17 May 2019 09:58:23 +0000 (10:58 +0100)
commit26648588294d039fcf1efbf512d785753cb6286d
tree3a2635afa20d8e731d56ad29feb8f23100e0feda
parent6e035501e15e72398fcd9db88c97dd30e585a9ae
MI: Add new command -complete

There is a CLI command 'complete' intended to use with emacs. Such a command
would also be useful for MI frontends, when separate CLI and MI channels cannot
be used. For example, on Windows (because of lack of PTYs) or when GDB is used
through SSH session.

This commit adds a new '-complete' MI command.

gdb/Changelog:
2019-01-28  Jan Vrany  <jan.vrany@fit.cvut.cz>

* mi/mi-cmds.h (mi_cmd_complete): New function.
* mi/mi-main.c (mi_cmd_complete): Likewise.
* mi/mi-cmds.c: Define new MI command -complete.
* NEWS: Mention new -complete command.

gdb/doc/ChangeLog:
2019-01-28  Jan Vrany  <jan.vrany@fit.cvut.cz>

* gdb.texinfo (Miscellaneous GDB/MI Commands): Document new
MI command -complete.

gdb/testsuite/ChangeLog:
2019-01-28  Jan Vrany  <jan.vrany@fit.cvut.cz>

* gdb.mi/mi-complete.exp: New file.
* gdb.mi/mi-complete.cc: Likewise.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-complete.cc [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-complete.exp [new file with mode: 0644]
This page took 0.048894 seconds and 4 git commands to generate.