[Lldb-commits] [lldb] New ThreadPlanSingleThreadTimeout to resolve potential deadlock in single thread stepping (PR #90930)

via lldb-commits lldb-commits at lists.llvm.org
Wed May 22 17:29:49 PDT 2024


================
@@ -440,6 +440,12 @@ class ProcessGDBRemote : public Process,
   void HandleStopReply() override;
   void HandleAsyncStructuredDataPacket(llvm::StringRef data) override;
 
+  // Handle thread specific async interrupt and return the original thread
+  // that requested the async interrupt. It can be null if original thread
+  // has exited.
+  lldb::ThreadSP HandleThreadAsyncInterrupt(uint8_t signo,
----------------
jimingham wrote:

I can't see any reason why the ability to manage this interrupt event is GDBRemote specific.  So this should be a virtual method in Process, and overridden here.

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


More information about the lldb-commits mailing list