diff options
author | Jan Vrany <jan.vrany@fit.cvut.cz> | 2019-05-17 10:58:23 +0100 |
---|---|---|
committer | Jan Vrany <jan.vrany@fit.cvut.cz> | 2019-05-17 10:58:23 +0100 |
commit | 6e035501e15e72398fcd9db88c97dd30e585a9ae (patch) | |
tree | 6613a2f7386b73461c6887ae1b9dd28b57229a6d /gdb/mi/mi-cmds.h | |
parent | 7d0e2ecedef69de0a242ac49a475f6a3968d4476 (diff) | |
download | gdb-6e035501e15e72398fcd9db88c97dd30e585a9ae.zip gdb-6e035501e15e72398fcd9db88c97dd30e585a9ae.tar.gz gdb-6e035501e15e72398fcd9db88c97dd30e585a9ae.tar.bz2 |
MI: extract command completion logic from complete_command()
Extract completion logic from CLI complete_command() into a new
helper function complete().
gdb/Changelog:
* completer.h (complete): New function.
* completer.c (complete): Likewise.
* cli/cli-cmds.c: (complete_command): Update to use new complete()
function defined in completer.h.
Diffstat (limited to 'gdb/mi/mi-cmds.h')
0 files changed, 0 insertions, 0 deletions