File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Sources/GDBRemoteProtocol Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ package struct GDBHostCommand: Equatable {
16
16
case currentThreadID
17
17
case firstThreadInfo
18
18
case subsequentThreadInfo
19
+ case targetStatus
19
20
20
21
case generalRegisters
21
22
@@ -47,6 +48,9 @@ package struct GDBHostCommand: Equatable {
47
48
self = . firstThreadInfo
48
49
case " qsThreadInfo " :
49
50
self = . subsequentThreadInfo
51
+ case " ? " :
52
+ self = . targetStatus
53
+
50
54
default :
51
55
return nil
52
56
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ package struct GDBTargetResponseEncoder: MessageToByteEncoder {
23
23
out. writeBytes ( info. map { ( key, value) in " \( key) : \( value) ; " } . joined ( ) . appendedChecksum)
24
24
25
25
case . vContSupportedActions( let actions) :
26
- out. writeBytes ( " vCont; \( actions. map ( \ . rawValue) . joined ( ) ) " . appendedChecksum)
26
+ out. writeBytes ( " vCont; \( actions. map { " \( $0 . rawValue) ; " } . joined ( ) ) " . appendedChecksum)
27
27
28
28
case . raw( let str) :
29
29
out. writeBytes ( str. appendedChecksum)
You can’t perform that action at this time.
0 commit comments