class TestWriteMemory(GDBRemoteTestBase):
- def test(self):
-
- class MyResponder(MockGDBServerResponder):
- def setBreakpoint(self, packet):
- return "OK"
-
def setUp(self):
super(TestWriteMemory, self).setUp()
self._initial_platform = lldb.DBG.GetSelectedPlatform()
lldb.DBG.SetSelectedPlatform(self._initial_platform)
super(TestWriteMemory, self).tearDown()
+
+ def test(self):
+
+ class MyResponder(MockGDBServerResponder):
+ def setBreakpoint(self, packet):
+ return "OK"
+
self.server.responder = MyResponder()
target = self.dbg.CreateTargetWithFileAndTargetTriple('', 'x86_64-pc-linux')
process = self.connect(target)