aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@fit.cvut.cz>2019-05-17 10:58:23 +0100
committerJan Vrany <jan.vrany@fit.cvut.cz>2019-05-17 10:58:23 +0100
commit26648588294d039fcf1efbf512d785753cb6286d (patch)
tree3a2635afa20d8e731d56ad29feb8f23100e0feda /gdb/NEWS
parent6e035501e15e72398fcd9db88c97dd30e585a9ae (diff)
downloadgdb-26648588294d039fcf1efbf512d785753cb6286d.zip
gdb-26648588294d039fcf1efbf512d785753cb6286d.tar.gz
gdb-26648588294d039fcf1efbf512d785753cb6286d.tar.bz2
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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 288615b..1e92a2b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -46,6 +46,13 @@ show print max-depth
The default max-depth is 20, but this can be set to unlimited to get
the old behavior back.
+* New MI commands
+
+-complete
+ This lists all the possible completions for the rest of the line, if it
+ were to be given as a command itself. This is intended for use by MI
+ frontends in cases when separate CLI and MI channels cannot be used.
+
*** Changes in GDB 8.3
* GDB and GDBserver now support access to additional registers on