Author: Michael Buch Date: 2022-08-19T19:31:14+01:00 New Revision: 1dc8fcff0e957ee137f59f94859a983425c1ba83
URL: https://github.com/llvm/llvm-project/commit/1dc8fcff0e957ee137f59f94859a983425c1ba83 DIFF: https://github.com/llvm/llvm-project/commit/1dc8fcff0e957ee137f59f94859a983425c1ba83.diff LOG: Revert "[lldb] [gdb-remote] Include PID in vCont packets if multiprocess" - Part 2 This reverts commit ccb9d4d4addc2fb2aa94cf776d43d8be35365272. Reverts the associated tests Added: Modified: Removed: lldb/test/API/functionalities/gdb_remote_client/TestContinue.py ################################################################################ diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py b/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py deleted file mode 100644 index f0f0df81d321d..0000000000000 --- a/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py +++ /dev/null @@ -1,68 +0,0 @@ -import lldb -from lldbsuite.test.lldbtest import * -from lldbsuite.test.decorators import * -from lldbsuite.test.gdbclientutils import * -from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase - - -class TestContinue(GDBRemoteTestBase): - class BaseResponder(MockGDBServerResponder): - def qSupported(self, client_supported): - return "PacketSize=3fff;QStartNoAckMode+;multiprocess+" - - def qfThreadInfo(self): - return "mp400.401" - - def haltReason(self): - return "S13" - - def cont(self): - return "W01" - - def other(self, packet): - if packet == "vCont?": - return "vCont;c;C;s;S" - if packet.startswith("vCont;"): - return "W00" - return "" - - def test_continue_no_multiprocess(self): - class MyResponder(self.BaseResponder): - def qSupported(self, client_supported): - return "PacketSize=3fff;QStartNoAckMode+" - - def qfThreadInfo(self): - return "m401" - - self.server.responder = MyResponder() - self.runCmd("platform select remote-linux") - target = self.createTarget("a.yaml") - process = self.connect(target) - self.assertPacketLogContains(["vCont;C13:401"]) - - def test_continue_no_vCont(self): - class MyResponder(self.BaseResponder): - def qSupported(self, client_supported): - return "PacketSize=3fff;QStartNoAckMode+" - - def qfThreadInfo(self): - return "m401" - - def other(self, packet): - return "" - - self.server.responder = MyResponder() - self.runCmd("platform select remote-linux") - target = self.createTarget("a.yaml") - process = self.connect(target) - self.assertPacketLogContains(["Hc401", "C13"]) - - def test_continue_multiprocess(self): - class MyResponder(self.BaseResponder): - pass - - self.server.responder = MyResponder() - self.runCmd("platform select remote-linux") - target = self.createTarget("a.yaml") - process = self.connect(target) - self.assertPacketLogContains(["vCont;C13:p400.401"]) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits