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