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 {
1616 case currentThreadID
1717 case firstThreadInfo
1818 case subsequentThreadInfo
19+ case targetStatus
1920
2021 case generalRegisters
2122
@@ -47,6 +48,9 @@ package struct GDBHostCommand: Equatable {
4748 self = . firstThreadInfo
4849 case " qsThreadInfo " :
4950 self = . subsequentThreadInfo
51+ case " ? " :
52+ self = . targetStatus
53+
5054 default :
5155 return nil
5256 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ package struct GDBTargetResponseEncoder: MessageToByteEncoder {
2323 out. writeBytes ( info. map { ( key, value) in " \( key) : \( value) ; " } . joined ( ) . appendedChecksum)
2424
2525 case . vContSupportedActions( let actions) :
26- out. writeBytes ( " vCont; \( actions. map ( \ . rawValue) . joined ( ) ) " . appendedChecksum)
26+ out. writeBytes ( " vCont; \( actions. map { " \( $0 . rawValue) ; " } . joined ( ) ) " . appendedChecksum)
2727
2828 case . raw( let str) :
2929 out. writeBytes ( str. appendedChecksum)
You can’t perform that action at this time.
0 commit comments