author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 08 Jul 2019 22:44:57 +0100 | |
changeset 201 | d7057fccacfd |
parent 197 | b4d1befee03a |
child 259 | 651864c2aa29 |
permissions | -rw-r--r-- |
166
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
jv:libgdbs - GNU Debugger Interface Library |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
Copyright (C) 2015-now Jan Vrany |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
This library is free software; you can redistribute it and/or |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
modify it under the terms of the GNU Lesser General Public |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
License as published by the Free Software Foundation; either |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
version 2.1 of the License. |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
This library is distributed in the hope that it will be useful, |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
Lesser General Public License for more details. |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
You should have received a copy of the GNU Lesser General Public |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
License along with this library; if not, write to the Free Software |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
"{ Package: 'jv:libgdbs' }" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
"{ NameSpace: Smalltalk }" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
GDBMICommand subclass:#GDBMI_complete |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
instanceVariableNames:'' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
classVariableNames:'' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
poolDictionaries:'' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
category:'GDB-Core-Commands-MI' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
!GDBMI_complete class methodsFor:'documentation'! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
copyright |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
jv:libgdbs - GNU Debugger Interface Library |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
35 |
Copyright (C) 2015-now Jan Vrany |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
This library is free software; you can redistribute it and/or |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
modify it under the terms of the GNU Lesser General Public |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
License as published by the Free Software Foundation; either |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
version 2.1 of the License. |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
This library is distributed in the hope that it will be useful, |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
Lesser General Public License for more details. |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
You should have received a copy of the GNU Lesser General Public |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
48 |
License along with this library; if not, write to the Free Software |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
49 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
50 |
" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
51 |
! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
53 |
documentation |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
54 |
" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
55 |
The '-complete' Command |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
56 |
----------------------- |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
57 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
58 |
Synopsis |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
59 |
-------- |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
60 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
61 |
-complete COMMAND |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
62 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
63 |
Show a list of completions for partially typed CLI COMMAND. The |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
64 |
COMMAND should be given in verbatim without any quoting / escaping. |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
65 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
66 |
GDB Command |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
67 |
----------- |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
68 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
69 |
The corresponding GDB command is 'complete'. |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
70 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
71 |
Example |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
72 |
------- |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
73 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
74 |
(gdb) |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
75 |
-complete br |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
76 |
^done,completions=['break','break-range'],max_completions_reached='0' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
(gdb) |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
-complete b madv |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
^done,completions=['b madvise'],max_completions_reached='0' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
(gdb) |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
! ! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
!GDBMI_complete methodsFor:'accessing'! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
operation |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
^ 'complete' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
"Created: / 30-12-2018 / 21:44:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
! ! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
92 |
!GDBMI_complete class methodsFor:'documentation'! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
93 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
94 |
version_HG |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
95 |
|
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
96 |
^ '$Changeset: <not expanded> $' |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
97 |
! ! |
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
98 |