author | Jan Vrany <jan.vrany@labware.com> |
Fri, 25 Aug 2023 15:55:13 +0100 | |
changeset 309 | f2481d09d58e |
parent 297 | 590dadb8382f |
child 316 | 7cc3798b2ff7 |
permissions | -rw-r--r-- |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
1 |
" |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
2 |
jv:libgdbs - GNU Debugger Interface Library |
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
3 |
Copyright (c) 2014-2020 Jan Vrany. |
208
b0d2028189fa
Add basic support for reading / writing debugee memory
Jan Vrany <jan.vrany@labware.com>
parents:
207
diff
changeset
|
4 |
Copyright (C) 2020 LabWare |
271
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
5 |
Copyright (C) 2022-2023 LabWare |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
6 |
|
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
7 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
8 |
of this software and associated documentation files (the 'Software'), to deal |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
9 |
in the Software without restriction, including without limitation the rights |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
10 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
11 |
copies of the Software, and to permit persons to whom the Software is |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
12 |
furnished to do so, subject to the following conditions: |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
13 |
|
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
14 |
The above copyright notice and this permission notice shall be included in all |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
15 |
copies or substantial portions of the Software. |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
16 |
|
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
18 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
19 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
20 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
21 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
22 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
23 |
SOFTWARE. |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
24 |
" |
0 | 25 |
"{ Package: 'jv:libgdbs' }" |
26 |
||
55
437ee6413c74
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
51
diff
changeset
|
27 |
"{ NameSpace: Smalltalk }" |
437ee6413c74
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
51
diff
changeset
|
28 |
|
0 | 29 |
LibraryDefinition subclass:#jv_libgdbs |
30 |
instanceVariableNames:'' |
|
31 |
classVariableNames:'' |
|
32 |
poolDictionaries:'' |
|
33 |
category:'* Projects & Packages *' |
|
34 |
! |
|
35 |
||
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
36 |
!jv_libgdbs class methodsFor:'documentation'! |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
37 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
38 |
copyright |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
39 |
" |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
40 |
jv:libgdbs - GNU Debugger Interface Library |
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
41 |
Copyright (c) 2014-2020 Jan Vrany. |
208
b0d2028189fa
Add basic support for reading / writing debugee memory
Jan Vrany <jan.vrany@labware.com>
parents:
207
diff
changeset
|
42 |
Copyright (C) 2020 LabWare |
271
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
43 |
Copyright (C) 2022-2023 LabWare |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
44 |
|
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
45 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
46 |
of this software and associated documentation files (the 'Software'), to deal |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
47 |
in the Software without restriction, including without limitation the rights |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
48 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
49 |
copies of the Software, and to permit persons to whom the Software is |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
50 |
furnished to do so, subject to the following conditions: |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
51 |
|
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
52 |
The above copyright notice and this permission notice shall be included in all |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
53 |
copies or substantial portions of the Software. |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
54 |
|
259
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
55 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
56 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
57 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
58 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
59 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
60 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
651864c2aa29
Relicense under MIT license.
Jan Vrany <jan.vrany@labware.com>
parents:
249
diff
changeset
|
61 |
SOFTWARE. |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
62 |
" |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
63 |
! ! |
0 | 64 |
|
65 |
!jv_libgdbs class methodsFor:'description'! |
|
66 |
||
67 |
excludedFromPreRequisites |
|
68 |
"list packages which are to be explicitely excluded from the automatic constructed |
|
69 |
prerequisites list. If empty, everything that is found along the inheritance of any of |
|
70 |
my classes is considered to be a prerequisite package." |
|
71 |
||
72 |
^ #( |
|
272
cdd1c9ad00de
Change class categories to facilitate Pharo port
Jan Vrany <jan.vrany@labware.com>
parents:
271
diff
changeset
|
73 |
#'jv:libgdbs/tests' "GDBSimulatorResource - referenced by GDBMITrace>>saveInSimulatorResourceAs:" |
297
590dadb8382f
Add Pharo version of `GDBPortlib`
Jan Vrany <jan.vrany@labware.com>
parents:
293
diff
changeset
|
74 |
#'stx:goodies/monticello' "MCPackage - referenced by jv_libgdbs class>>generateSource4Pharo" |
590dadb8382f
Add Pharo version of `GDBPortlib`
Jan Vrany <jan.vrany@labware.com>
parents:
293
diff
changeset
|
75 |
#'stx:goodies/monticello/tonel' "TonelRepository - referenced by jv_libgdbs class>>generateSource4Pharo" |
590dadb8382f
Add Pharo version of `GDBPortlib`
Jan Vrany <jan.vrany@labware.com>
parents:
293
diff
changeset
|
76 |
#'stx:libbasic3' "PharoSourceExporter - referenced by jv_libgdbs class>>generateSource4Pharo" |
0 | 77 |
) |
297
590dadb8382f
Add Pharo version of `GDBPortlib`
Jan Vrany <jan.vrany@labware.com>
parents:
293
diff
changeset
|
78 |
|
590dadb8382f
Add Pharo version of `GDBPortlib`
Jan Vrany <jan.vrany@labware.com>
parents:
293
diff
changeset
|
79 |
"Modified: / 14-08-2023 / 16:34:42 / Jan Vrany <jan.vrany@labware.com>" |
0 | 80 |
! |
81 |
||
82 |
mandatoryPreRequisites |
|
83 |
"list packages which are mandatory as a prerequisite. |
|
84 |
This are packages containing superclasses of my classes and classes which |
|
85 |
are extended by myself. |
|
12
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
86 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
0 | 87 |
This method is generated automatically, |
79
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
88 |
by searching along the inheritance chain of all of my classes. |
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
89 |
Please take a look at the #referencedPreRequisites method as well." |
0 | 90 |
|
91 |
^ #( |
|
236
e36e28215fd9
Allow to wait for muliple events
Jan Vrany <jan.vrany@labware.com>
parents:
235
diff
changeset
|
92 |
#'stx:goodies/announcements' "Announcement - extended" |
45
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
93 |
#'stx:goodies/magritte' "Magritte::MAAccessor - superclass of GDBMAPropertyAccessor" |
126
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
94 |
#'stx:libbasic' "ArrayedCollection - extended" |
224
34a835fad1c8
Introduce new pool `GDBOutputFormats`
Jan Vrany <jan.vrany@labware.com>
parents:
219
diff
changeset
|
95 |
#'stx:libview2' "Model - superclass of GDBDebugger" |
0 | 96 |
) |
97 |
! |
|
98 |
||
99 |
referencedPreRequisites |
|
100 |
"list packages which are a prerequisite, because they contain |
|
101 |
classes which are referenced by my classes. |
|
79
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
102 |
These packages are NOT needed as a prerequisite for compiling or loading, |
55
437ee6413c74
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
51
diff
changeset
|
103 |
however, a class from it may be referenced during execution and having it |
437ee6413c74
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
51
diff
changeset
|
104 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
437ee6413c74
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
51
diff
changeset
|
105 |
includes explicit checks for the package being present. |
0 | 106 |
This method is generated automatically, |
79
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
107 |
by searching all classes (and their packages) which are referenced by my classes. |
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
108 |
Please also take a look at the #mandatoryPreRequisites method" |
0 | 109 |
|
110 |
^ #( |
|
164
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
111 |
#'stx:libbasic2' "List - referenced by GDBDebugger>>breakpoints" |
85
6fea1000a2a5
Implemented proper quoting of MI commands
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
79
diff
changeset
|
112 |
#'stx:libtool' "Tools::Inspector2Tab - referenced by GDBBreakpoint>>inspector2TabCondition" |
6fea1000a2a5
Implemented proper quoting of MI commands
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
79
diff
changeset
|
113 |
#'stx:libwidg' "EditTextView - referenced by GDBBreakpoint>>inspector2TabCondition" |
0 | 114 |
) |
115 |
! |
|
116 |
||
117 |
subProjects |
|
50
61e8a7c86f38
Renamed GDBThreadStatus* to GDBThreadState*
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
47
diff
changeset
|
118 |
"list packages which are known as subprojects. |
0 | 119 |
The generated makefile will enter those and make there as well. |
50
61e8a7c86f38
Renamed GDBThreadStatus* to GDBThreadState*
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
47
diff
changeset
|
120 |
However: they are not forced to be loaded when a package is loaded; |
0 | 121 |
for those, redefine requiredPrerequisites." |
122 |
||
123 |
^ #( |
|
124 |
) |
|
125 |
! ! |
|
126 |
||
127 |
!jv_libgdbs class methodsFor:'description - contents'! |
|
128 |
||
129 |
classNamesAndAttributes |
|
130 |
"lists the classes which are to be included in the project. |
|
131 |
Each entry in the list may be: a single class-name (symbol), |
|
132 |
or an array-literal consisting of class name and attributes. |
|
133 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
134 |
||
135 |
^ #( |
|
136 |
"<className> or (<className> attributes...) in load order" |
|
132
70c17add3b24
Introduces a model of architectures
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
126
diff
changeset
|
137 |
GDBArchitecture |
6 | 138 |
GDBCommand |
139 |
GDBCommandStatus |
|
7
7a51f98e7162
Initial implementation of event dispatcher and event pump.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6
diff
changeset
|
140 |
GDBDebugFlags |
37
a85f0c91f164
Some more work on threads (thread status)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
36
diff
changeset
|
141 |
GDBError |
6 | 142 |
GDBEvent |
235
51f916ee4111
Renamed `GDBEventSet` to `GDBEventSequence`
Jan Vrany <jan.vrany@labware.com>
parents:
224
diff
changeset
|
143 |
GDBEventSequence |
111
7ce18f6f18ac
API: added methods for querying debugger and target features
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
104
diff
changeset
|
144 |
GDBFeatures |
133
026074322527
Add support for instruction dissection
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
132
diff
changeset
|
145 |
GDBInstructionDissection |
7
7a51f98e7162
Initial implementation of event dispatcher and event pump.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6
diff
changeset
|
146 |
GDBInternalPipeStream |
126
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
147 |
GDBMAByteArrayDescription |
45
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
148 |
GDBMAContainer |
126
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
149 |
GDBMADescriptionSwitch |
45
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
150 |
GDBMAPropertyAccessor |
85
6fea1000a2a5
Implemented proper quoting of MI commands
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
79
diff
changeset
|
151 |
GDBMIPrinter |
113
c4f07d0e7b7a
GNI/MI: added custom inspector view for viewing GDB/MI comminicatication trace
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
111
diff
changeset
|
152 |
GDBMITrace |
164
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
153 |
GDBMITraceCommandRecord |
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
154 |
GDBMITraceResponseRecord |
21
83395ca8b257
Renamed GDB to GDBDebugger
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
18
diff
changeset
|
155 |
GDBObject |
224
34a835fad1c8
Introduce new pool `GDBOutputFormats`
Jan Vrany <jan.vrany@labware.com>
parents:
219
diff
changeset
|
156 |
GDBOutputFormats |
11
474fbb650afe
PTY support refactored to use GDBPTY object.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8
diff
changeset
|
157 |
GDBPTY |
293
d1422e1ee1bd
Introduce `GDBPortlib` to facilitate porting to other dialects
Jan Vrany <jan.vrany@labware.com>
parents:
291
diff
changeset
|
158 |
GDBPortlib |
23
a7eb888c81b5
Introduced GDBProcess - a class encapsulating gdb OS process.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
159 |
GDBProcess |
164
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
160 |
GDBShellCommandParser |
135
6efae6456f14
Added pool `GDBStopReasons` with constants for (know) reasons
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
133
diff
changeset
|
161 |
GDBStopReasons |
51
2fa20404923c
Introduced GDBThreadGroupType.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
50
diff
changeset
|
162 |
GDBThreadGroupType |
50
61e8a7c86f38
Renamed GDBThreadStatus* to GDBThreadState*
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
47
diff
changeset
|
163 |
GDBThreadState |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
40
diff
changeset
|
164 |
GDBTransientDataHolder |
3
29ea333a1811
More work on events and parsing.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
165 |
#'jv_libgdbs' |
264 | 166 |
#'GDBArch_PPC64' |
205
26ed194991b7
Add RISC-V architecture definition
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
194
diff
changeset
|
167 |
#'GDBArch_RV64' |
132
70c17add3b24
Introduces a model of architectures
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
126
diff
changeset
|
168 |
#'GDBArch_unknown' |
133
026074322527
Add support for instruction dissection
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
132
diff
changeset
|
169 |
#'GDBArch_x86' |
6 | 170 |
GDBAsyncEvent |
7
7a51f98e7162
Initial implementation of event dispatcher and event pump.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6
diff
changeset
|
171 |
GDBCLICommand |
7a51f98e7162
Initial implementation of event dispatcher and event pump.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
6
diff
changeset
|
172 |
GDBCommandEvent |
88
90c50fd6374c
Introduced new exception class: `GDBCommandFailedError`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
86
diff
changeset
|
173 |
GDBCommandFailedError |
21
83395ca8b257
Renamed GDB to GDBDebugger
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
18
diff
changeset
|
174 |
GDBCommandResult |
6 | 175 |
GDBCommandResultEvent |
22
57025871aed4
Renamed GDBDriver to GDBConnection.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
21
diff
changeset
|
176 |
GDBConnection |
21
83395ca8b257
Renamed GDB to GDBDebugger
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
18
diff
changeset
|
177 |
GDBDebugger |
36
095c4b0b74d3
Added support for threads.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
35
diff
changeset
|
178 |
GDBDebuggerObject |
218
42d5a8a5e14e
Encapsulate event dispatch loop logic into single object - a `GDBEventDispatcher`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
144
diff
changeset
|
179 |
GDBEventDispatcher |
244
f0e4ddb50242
Split event processing and event delivery
Jan Vrany <jan.vrany@labware.com>
parents:
236
diff
changeset
|
180 |
GDBEventSubscription |
8
7f4882e2562a
More work on basic example. GDB exiting not yet working.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7
diff
changeset
|
181 |
GDBInternalEvent |
111
7ce18f6f18ac
API: added methods for querying debugger and target features
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
104
diff
changeset
|
182 |
GDBInvalidObjectError |
164
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
183 |
GDBLocalProcess |
11
474fbb650afe
PTY support refactored to use GDBPTY object.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
8
diff
changeset
|
184 |
GDBMICommand |
45
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
185 |
GDBMIParser |
113
c4f07d0e7b7a
GNI/MI: added custom inspector view for viewing GDB/MI comminicatication trace
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
111
diff
changeset
|
186 |
GDBMITracer |
97
b17c889076e4
Added API for memory dumps
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
95
diff
changeset
|
187 |
GDBMemoryDump |
b17c889076e4
Added API for memory dumps
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
95
diff
changeset
|
188 |
GDBMemoryDumpRow |
244
f0e4ddb50242
Split event processing and event delivery
Jan Vrany <jan.vrany@labware.com>
parents:
236
diff
changeset
|
189 |
GDBOutputFormat |
144
342b6dfe3a6f
Add model for machine registers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
190 |
GDBRegister |
164
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
191 |
GDBRemoteProcess |
6 | 192 |
GDBStreamOutputEvent |
207
6865055b721f
Add `GDBStructure` helper class
Jan Vrany <jan.vrany@labware.com>
parents:
205
diff
changeset
|
193 |
GDBStructure |
51
2fa20404923c
Introduced GDBThreadGroupType.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
50
diff
changeset
|
194 |
GDBThreadGroupTypeProcess |
67
c4ac76afe03d
Keep thread information in transient thread-info object.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
55
diff
changeset
|
195 |
GDBThreadInfo |
50
61e8a7c86f38
Renamed GDBThreadStatus* to GDBThreadState*
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
47
diff
changeset
|
196 |
GDBThreadStateRunning |
61e8a7c86f38
Renamed GDBThreadStatus* to GDBThreadState*
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
47
diff
changeset
|
197 |
GDBThreadStateStopped |
61e8a7c86f38
Renamed GDBThreadStatus* to GDBThreadState*
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
47
diff
changeset
|
198 |
GDBThreadStateTerminated |
86
7f53d51a0a65
Cache thread status and update it on `=stopped` and `=running` events
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
85
diff
changeset
|
199 |
GDBThreadStateUnknown |
111
7ce18f6f18ac
API: added methods for querying debugger and target features
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
104
diff
changeset
|
200 |
GDBUnsupportedFeatureError |
36
095c4b0b74d3
Added support for threads.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
35
diff
changeset
|
201 |
GDBBreakpoint |
6 | 202 |
GDBConsoleOutputEvent |
246
645c66ca431c
Add `GDBMemoryChangedEvent`
Jan Vrany <jan.vrany@labware.com>
parents:
244
diff
changeset
|
203 |
GDBEventDelivery |
235
51f916ee4111
Renamed `GDBEventSet` to `GDBEventSequence`
Jan Vrany <jan.vrany@labware.com>
parents:
224
diff
changeset
|
204 |
GDBEventSequenceEvent |
6 | 205 |
GDBExecutionEvent |
8
7f4882e2562a
More work on basic example. GDB exiting not yet working.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7
diff
changeset
|
206 |
GDBExitEvent |
100
aab8dd376f29
Fixed SubscriptionCollection >> value:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
97
diff
changeset
|
207 |
GDBFrame |
126
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
208 |
GDBInstruction |
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
209 |
GDBInstructionsAndSourceLine |
6 | 210 |
GDBLogOutputEvent |
12
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
211 |
#'GDBMI_ada_task_info' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
212 |
#'GDBMI_add_inferior' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
213 |
#'GDBMI_break_after' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
214 |
#'GDBMI_break_commands' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
215 |
#'GDBMI_break_condition' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
216 |
#'GDBMI_break_delete' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
217 |
#'GDBMI_break_disable' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
218 |
#'GDBMI_break_enable' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
219 |
#'GDBMI_break_info' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
220 |
#'GDBMI_break_insert' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
221 |
#'GDBMI_break_list' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
222 |
#'GDBMI_break_passcount' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
223 |
#'GDBMI_break_watch' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
224 |
#'GDBMI_catch_assert' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
225 |
#'GDBMI_catch_exception' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
226 |
#'GDBMI_catch_load' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
227 |
#'GDBMI_catch_unload' |
166
5cb191425081
Add class for new MI command `-complete`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
164
diff
changeset
|
228 |
#'GDBMI_complete' |
12
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
229 |
#'GDBMI_data_disassemble' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
230 |
#'GDBMI_data_evaluate_expression' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
231 |
#'GDBMI_data_list_changed_registers' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
232 |
#'GDBMI_data_list_register_names' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
233 |
#'GDBMI_data_list_register_values' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
234 |
#'GDBMI_data_read_memory' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
235 |
#'GDBMI_data_read_memory_bytes' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
236 |
#'GDBMI_data_write_memory' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
237 |
#'GDBMI_data_write_memory_bytes' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
238 |
#'GDBMI_data_write_register_values' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
239 |
#'GDBMI_dprintf_insert' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
240 |
#'GDBMI_enable_frame_filters' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
241 |
#'GDBMI_enable_pretty_printing' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
242 |
#'GDBMI_enable_timings' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
243 |
#'GDBMI_environment_cd' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
244 |
#'GDBMI_environment_directory' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
245 |
#'GDBMI_environment_path' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
246 |
#'GDBMI_environment_pwd' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
247 |
#'GDBMI_exec_arguments' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
248 |
#'GDBMI_exec_continue' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
249 |
#'GDBMI_exec_finish' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
250 |
#'GDBMI_exec_interrupt' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
251 |
#'GDBMI_exec_jump' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
252 |
#'GDBMI_exec_next' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
253 |
#'GDBMI_exec_next_instruction' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
254 |
#'GDBMI_exec_return' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
255 |
#'GDBMI_exec_run' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
256 |
#'GDBMI_exec_step' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
257 |
#'GDBMI_exec_step_instruction' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
258 |
#'GDBMI_exec_until' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
259 |
#'GDBMI_file_exec_and_symbols' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
260 |
#'GDBMI_file_exec_file' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
261 |
#'GDBMI_file_list_exec_source_file' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
262 |
#'GDBMI_file_list_exec_source_files' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
263 |
#'GDBMI_file_symbol_file' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
264 |
#'GDBMI_gdb_exit' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
265 |
#'GDBMI_gdb_set' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
266 |
#'GDBMI_gdb_show' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
267 |
#'GDBMI_gdb_version' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
268 |
#'GDBMI_inferior_tty_set' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
269 |
#'GDBMI_inferior_tty_show' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
270 |
#'GDBMI_info_ada_exceptions' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
271 |
#'GDBMI_info_gdb_mi_command' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
272 |
#'GDBMI_info_os' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
273 |
#'GDBMI_interpreter_exec' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
274 |
#'GDBMI_list_features' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
275 |
#'GDBMI_list_target_features' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
276 |
#'GDBMI_list_thread_groups' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
277 |
#'GDBMI_remove_inferior' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
278 |
#'GDBMI_stack_info_depth' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
279 |
#'GDBMI_stack_info_frame' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
280 |
#'GDBMI_stack_list_arguments' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
281 |
#'GDBMI_stack_list_frames' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
282 |
#'GDBMI_stack_list_locals' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
283 |
#'GDBMI_stack_list_variables' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
284 |
#'GDBMI_stack_select_frame' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
285 |
#'GDBMI_symbol_list_lines' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
286 |
#'GDBMI_target_attach' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
287 |
#'GDBMI_target_detach' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
288 |
#'GDBMI_target_disconnect' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
289 |
#'GDBMI_target_download' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
290 |
#'GDBMI_target_file_delete' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
291 |
#'GDBMI_target_file_get' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
292 |
#'GDBMI_target_file_put' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
293 |
#'GDBMI_target_select' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
294 |
#'GDBMI_thread_info' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
295 |
#'GDBMI_thread_list_ids' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
296 |
#'GDBMI_thread_select' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
297 |
#'GDBMI_trace_define_variable' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
298 |
#'GDBMI_trace_find' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
299 |
#'GDBMI_trace_frame_collected' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
300 |
#'GDBMI_trace_list_variables' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
301 |
#'GDBMI_trace_save' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
302 |
#'GDBMI_trace_start' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
303 |
#'GDBMI_trace_status' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
304 |
#'GDBMI_trace_stop' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
305 |
#'GDBMI_var_assign' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
306 |
#'GDBMI_var_create' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
307 |
#'GDBMI_var_delete' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
308 |
#'GDBMI_var_evaluate_expression' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
309 |
#'GDBMI_var_info_expression' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
310 |
#'GDBMI_var_info_num_children' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
311 |
#'GDBMI_var_info_path_expression' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
312 |
#'GDBMI_var_info_type' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
313 |
#'GDBMI_var_list_children' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
314 |
#'GDBMI_var_set_format' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
315 |
#'GDBMI_var_set_frozen' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
316 |
#'GDBMI_var_set_update_range' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
317 |
#'GDBMI_var_set_visualizer' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
318 |
#'GDBMI_var_show_attributes' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
319 |
#'GDBMI_var_show_format' |
568a2971c977
Generated classes for MI commands.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
320 |
#'GDBMI_var_update' |
6 | 321 |
GDBNotificationEvent |
249
272bd60a849c
When setting register value via API, send `GDBRegisterValueChangedEvent`
Jan Vrany <jan.vrany@labware.com>
parents:
247
diff
changeset
|
322 |
GDBRegisterValueChangedEvent |
218
42d5a8a5e14e
Encapsulate event dispatch loop logic into single object - a `GDBEventDispatcher`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
144
diff
changeset
|
323 |
GDBRegisterWithValue |
37
a85f0c91f164
Some more work on threads (thread status)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
36
diff
changeset
|
324 |
GDBSelectedFrameChangedEvent |
293
d1422e1ee1bd
Introduce `GDBPortlib` to facilitate porting to other dialects
Jan Vrany <jan.vrany@labware.com>
parents:
291
diff
changeset
|
325 |
GDBSimpleProcess |
6 | 326 |
GDBStatusEvent |
327 |
GDBTargetOutputEvent |
|
36
095c4b0b74d3
Added support for threads.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
35
diff
changeset
|
328 |
GDBThread |
095c4b0b74d3
Added support for threads.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
35
diff
changeset
|
329 |
GDBThreadGroup |
37
a85f0c91f164
Some more work on threads (thread status)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
36
diff
changeset
|
330 |
GDBTransientObject |
293
d1422e1ee1bd
Introduce `GDBPortlib` to facilitate porting to other dialects
Jan Vrany <jan.vrany@labware.com>
parents:
291
diff
changeset
|
331 |
GDBUnixProcess |
111
7ce18f6f18ac
API: added methods for querying debugger and target features
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
104
diff
changeset
|
332 |
GDBVariable |
102
d573a3b2abe2
Variable objects: delete var. objects that are no longer needed
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
100
diff
changeset
|
333 |
GDBVariableObject |
104
4add55336dfe
Variable objects: automagically update values whenever changed.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
102
diff
changeset
|
334 |
GDBVariableObjectChange |
102
d573a3b2abe2
Variable objects: delete var. objects that are no longer needed
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
100
diff
changeset
|
335 |
GDBVariableObjectExecutor |
13
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
336 |
GDBBreakpointDeletedEvent |
35
c17ecf90e446
Initial support for thread groups, threads and breakpoints.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
337 |
GDBBreakpointEvent |
79
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
338 |
GDBCmdParamChangedEvent |
235
51f916ee4111
Renamed `GDBEventSet` to `GDBEventSequence`
Jan Vrany <jan.vrany@labware.com>
parents:
224
diff
changeset
|
339 |
GDBEventSequenceProcessingFinished |
51f916ee4111
Renamed `GDBEventSet` to `GDBEventSequence`
Jan Vrany <jan.vrany@labware.com>
parents:
224
diff
changeset
|
340 |
GDBEventSequenceProcessingStarted |
13
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
341 |
GDBLibraryLoadedEvent |
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
342 |
GDBLibraryUnloadedEvent |
246
645c66ca431c
Add `GDBMemoryChangedEvent`
Jan Vrany <jan.vrany@labware.com>
parents:
244
diff
changeset
|
343 |
GDBMemoryChangedEvent |
13
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
344 |
GDBRunningEvent |
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
345 |
GDBStoppedEvent |
164
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
346 |
GDBTargetConnectedEvent |
a16705f64a64
Add support for arbitrary (shell) command to launch GDB.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
163
diff
changeset
|
347 |
GDBTargetDisonnectedEvent |
247
dcf814dde638
Add `GDBTargetDisonnectedtypeEvent`
Jan Vrany <jan.vrany@labware.com>
parents:
246
diff
changeset
|
348 |
GDBTargetDisonnectedtypeEvent |
35
c17ecf90e446
Initial support for thread groups, threads and breakpoints.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
349 |
GDBThreadEvent |
c17ecf90e446
Initial support for thread groups, threads and breakpoints.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
350 |
GDBThreadGroupEvent |
39
2b9d2f75906f
Some work on execution stack model
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
37
diff
changeset
|
351 |
GDBThreadSelectedEvent |
35
c17ecf90e446
Initial support for thread groups, threads and breakpoints.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
352 |
GDBBreakpointCreatedEvent |
c17ecf90e446
Initial support for thread groups, threads and breakpoints.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
353 |
GDBBreakpointModifiedEvent |
13
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
354 |
GDBThreadCreatedEvent |
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
355 |
GDBThreadExitedEvent |
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
356 |
GDBThreadGroupAddedEvent |
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
357 |
GDBThreadGroupExitedEvent |
45ec9353003f
Added classes for each async event type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
358 |
GDBThreadGroupStartedEvent |
114
be5bdaecb9b3
API: added methods for querying source directories
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
113
diff
changeset
|
359 |
(GDBMITraceViewer autoload) |
194
312d96017653
Add `GDBMIDebugger` tool to test raw MI / CLI.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
166
diff
changeset
|
360 |
(GDBMIDebugger autoload) |
0 | 361 |
) |
309
f2481d09d58e
Compatibility: fix mutex creation
Jan Vrany <jan.vrany@labware.com>
parents:
297
diff
changeset
|
362 |
|
f2481d09d58e
Compatibility: fix mutex creation
Jan Vrany <jan.vrany@labware.com>
parents:
297
diff
changeset
|
363 |
"Modified: / 18-08-2023 / 14:18:55 / Jan Vrany <jan.vrany@labware.com>" |
0 | 364 |
! |
365 |
||
366 |
extensionMethodNames |
|
79
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
367 |
"lists the extension methods which are to be included in the project. |
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
368 |
Entries are 2-element array literals, consisting of class-name and selector. |
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
369 |
A correponding method with real names must be present in my concrete subclasses |
303c4edc75ad
`GDBProcess` refatored to have console interpreter on STDIN/STDOUT
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
74
diff
changeset
|
370 |
if it has extensions." |
0 | 371 |
|
372 |
^ #( |
|
45
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
373 |
#'Magritte::MABooleanDescription' parseUsingGDBMIParser: |
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
374 |
#'Magritte::MADescription' parseUsingGDBMIParser: |
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
375 |
#'Magritte::MANumberDescription' parseUsingGDBMIParser: |
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
376 |
#'Magritte::MAStringDescription' parseUsingGDBMIParser: |
deb908479a37
Code refactored to use Magritte to meta-describe GDB objects.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
42
diff
changeset
|
377 |
#'Magritte::MAToManyRelationDescription' parseUsingGDBMIParser: |
47
4f5d75acecb0
Added support for parsing enums using MAOptionDescription
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
45
diff
changeset
|
378 |
#'Magritte::MASingleOptionDescription' parseUsingGDBMIParser: |
89
ba62d486014f
Initial support for breakpoints with multiple locations
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
379 |
#'Magritte::MAToManyRelationDescription' allowOmmitedBrackets |
ba62d486014f
Initial support for breakpoints with multiple locations
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
380 |
#'Magritte::MAToManyRelationDescription' allowOmmitedBrackets: |
ba62d486014f
Initial support for breakpoints with multiple locations
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
88
diff
changeset
|
381 |
'Magritte::MAToManyRelationDescription class' defaultAllowOmmitedBrackets |
119
258bf0b2317c
Fixed `GDBDebugger >> directories` to work on Windows
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
114
diff
changeset
|
382 |
Filename cygName |
126
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
383 |
'Filename class' cygNamed: |
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
384 |
ByteArray pythonOn: |
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
385 |
ByteArray pythonString |
fb73b0af430b
Added initial support for disassembling
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
119
diff
changeset
|
386 |
#'Magritte::MADescription' parseUsingGDBMIParser:taggedAs: |
236
e36e28215fd9
Allow to wait for muliple events
Jan Vrany <jan.vrany@labware.com>
parents:
235
diff
changeset
|
387 |
'Announcement class' handles: |
244
f0e4ddb50242
Split event processing and event delivery
Jan Vrany <jan.vrany@labware.com>
parents:
236
diff
changeset
|
388 |
Announcer subscriptionsFor:do: |
f0e4ddb50242
Split event processing and event delivery
Jan Vrany <jan.vrany@labware.com>
parents:
236
diff
changeset
|
389 |
SubscriptionRegistry subscriptionsFor:do: |
0 | 390 |
) |
391 |
! ! |
|
392 |
||
271
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
393 |
!jv_libgdbs class methodsFor:'description - monticello'! |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
394 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
395 |
monticelloName |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
396 |
^ 'LibGDBs' |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
397 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
398 |
"Created: / 11-07-2023 / 11:07:34 / Jan Vrany <jan.vrany@labware.com>" |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
399 |
! ! |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
400 |
|
0 | 401 |
!jv_libgdbs class methodsFor:'description - project information'! |
402 |
||
403 |
companyName |
|
404 |
"Returns a company string which will appear in <lib>.rc. |
|
405 |
Under win32, this is placed into the dlls file-info" |
|
406 |
||
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
407 |
^ 'Jan Vrany' |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
408 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
409 |
"Modified: / 23-11-2017 / 22:46:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
0 | 410 |
! |
411 |
||
412 |
description |
|
413 |
"Returns a description string which will appear in nt.def / bc.def" |
|
414 |
||
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
415 |
^ 'GNU Debugger Interface Library' |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
416 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
417 |
"Modified: / 23-11-2017 / 22:46:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
0 | 418 |
! |
419 |
||
420 |
legalCopyright |
|
421 |
"Returns a copyright string which will appear in <lib>.rc. |
|
422 |
Under win32, this is placed into the dlls file-info" |
|
423 |
||
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
424 |
^ 'Copyright (C) Jan Vrany 2015-now' |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
425 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
426 |
"Modified (format): / 23-11-2017 / 22:36:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
0 | 427 |
! |
428 |
||
429 |
productName |
|
430 |
"Returns a product name which will appear in <lib>.rc. |
|
431 |
Under win32, this is placed into the dlls file-info. |
|
432 |
This method is usually redefined in a concrete application definition" |
|
433 |
||
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
434 |
^ self description |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
435 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
89
diff
changeset
|
436 |
"Modified: / 23-11-2017 / 22:47:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
0 | 437 |
! ! |
438 |
||
271
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
439 |
!jv_libgdbs class methodsFor:'utilities'! |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
440 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
441 |
generateSource4Pharo |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
442 |
| directory repository exporter | |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
443 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
444 |
directory := (Smalltalk getPackageDirectoryForPackage: self package) / 'ports' / 'pharo' / 'src-generated'. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
445 |
directory exists ifFalse: [ directory makeDirectory ]. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
446 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
447 |
repository := TonelRepository new directory: directory. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
448 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
449 |
exporter := PharoSourceExporter new. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
450 |
exporter klassMap |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
451 |
at: ApplicationModel name put: UndefinedObject name; |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
452 |
at: TTYConstants name put: UndefinedObject name; |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
453 |
at: Filename name put: #FileReference; |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
454 |
at: Subscription name put: #AnnouncementSubscription; |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
455 |
at: StrongSubscription name put: #AnnouncementSubscription; |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
456 |
at: List name put: #OrderedCollection; |
286
d22bc8f82f88
Compatibility: refactor finalization of debuggers and variable objects
Jan Vrany <jan.vrany@labware.com>
parents:
272
diff
changeset
|
457 |
at: Registry name put: #WeakRegistry; |
271
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
458 |
yourself. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
459 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
460 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
461 |
#( #'jv:libgdbs' #'jv:libgdbs/tests' ) do: [:packageName | |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
462 |
| mcpkg mcwc mcvi mcversion | |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
463 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
464 |
Smalltalk loadPackage: packageName. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
465 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
466 |
mcpkg := MCPackage named: packageName. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
467 |
mcwc := mcpkg workingCopy. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
468 |
mcvi := MCVersionInfo forPackage: packageName. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
469 |
[ |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
470 |
mcversion := mcwc newVersion. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
471 |
mcversion snapshot options |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
472 |
exporter: exporter; |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
473 |
includeExtrasForSTX:false. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
474 |
] on:MCVersionNameAndMessageRequest do:[:ex | |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
475 |
ex resume:(Array with:mcvi name with:mcvi message) |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
476 |
]. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
477 |
mcversion info:mcvi. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
478 |
repository storeVersion:mcversion. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
479 |
]. |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
480 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
481 |
" |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
482 |
jv_libgdbs generateSource4Pharo |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
483 |
" |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
484 |
|
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
485 |
"Created: / 19-09-2022 / 19:15:11 / Jan Vrany <jan.vrany@labware.com>" |
309
f2481d09d58e
Compatibility: fix mutex creation
Jan Vrany <jan.vrany@labware.com>
parents:
297
diff
changeset
|
486 |
"Modified: / 25-08-2023 / 15:52:04 / Jan Vrany <jan.vrany@labware.com>" |
271
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
487 |
! ! |
b3d47d1cb55d
Initial support pro Pharo
Jan Vrany <jan.vrany@labware.com>
parents:
268
diff
changeset
|
488 |
|
0 | 489 |
!jv_libgdbs class methodsFor:'documentation'! |
490 |
||
491 |
version_HG |
|
492 |
^ '$Changeset: <not expanded> $' |
|
493 |
! ! |
|
494 |