[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #99736)

Robert O'Callahan via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 24 13:23:23 PDT 2024


================
@@ -510,8 +510,9 @@ def start(self):
         self._thread.start()
 
     def stop(self):
-        self._thread.join()
-        self._thread = None
+        if self._thread is not None:
----------------
rocallahan wrote:

This is not an LLDB stop or an LLDB thread. `thread_`  is the `MockGdbServer`'s Python worker thread, and `stop()` is the method you call to shut down the server. I'm making this method work in the case where you call `stop()` before `start()` has been called, in the `GDBProxyTestBase.tearDown()` test scaffolding.

https://github.com/llvm/llvm-project/pull/99736


More information about the lldb-commits mailing list