This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [pushed] MI: Add new command -complete


On 17-05-19 12:24, Jan Vrany wrote:
> 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.

This test partially fails for me, I've filed
PR24711 - "FAIL: gdb.mi/mi-complete.exp: -complete br, max-completions
1/0 (unexpected output)" (
https://sourceware.org/bugzilla/show_bug.cgi?id=24711 ).

Thanks,
- Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]