(self, msg: str)
| 38 | return sum(ord(c) for c in data) & 0xff |
| 39 | |
| 40 | def send(self, msg: str): |
| 41 | time.sleep(SimpleGdbClient.DELAY) |
| 42 | |
| 43 | self.__file.write(f'${msg}#{SimpleGdbClient.checksum(msg):02x}') |
| 44 | self.__file.flush() |
| 45 | |
| 46 | |
| 47 | class DebuggerTest(unittest.TestCase): |
no test coverage detected