[Lldb-commits] [lldb] [lldb] Fix TestGlobalModuleCache.py for remote debugging (PR #111483)

Igor Kudrin via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 8 21:45:37 PDT 2024


================
@@ -111,6 +111,8 @@ def do_test(self, one_target, one_debugger):
         else:
             if one_target:
                 new_debugger = lldb.SBDebugger().Create()
+                if lldb.selected_platform is not None:
+                    new_debugger.SetSelectedPlatform(lldb.selected_platform)
----------------
igorkudrin wrote:

Thanks! I copied the code from `Base.setUp()` (`lldbtest.py`) because I thought the condition was there for a reason.

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


More information about the lldb-commits mailing list