(self)
| 32 | gdb_rsp.KillProcess(process) |
| 33 | |
| 34 | def test_kill(self): |
| 35 | process = gdb_rsp.PopenDebugStub(COMMAND) |
| 36 | try: |
| 37 | connection = gdb_rsp.GdbRspConnection() |
| 38 | # Request killing the target. |
| 39 | reply = connection.RspRequest('k') |
| 40 | self.assertEqual(reply, 'OK') |
| 41 | signal = c_byte(process.wait()).value |
| 42 | self.assertEqual(signal, gdb_rsp.RETURNCODE_KILL) |
| 43 | finally: |
| 44 | gdb_rsp.KillProcess(process) |
| 45 | |
| 46 | def test_detach(self): |
| 47 | process = gdb_rsp.PopenDebugStub(COMMAND) |
nothing calls this directly
no test coverage detected