[Lldb-commits] [lldb] [lldb][debugserver] Interrupt should reset outstanding SIGSTOP (PR #132128)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 20 10:11:03 PDT 2025


================
@@ -1594,6 +1594,10 @@ static uint64_t bits(uint64_t value, uint32_t msbit, uint32_t lsbit) {
                          m_sent_interrupt_signo);
       }
     } else {
+      // We've requested that the process stop anew; if we had recorded this
+      // requested stop as being in place when we resumed (& therefore would
+      // throw it away), clear that.
+      m_auto_resume_signo = 0;
----------------
JDevlieghere wrote:

Ok, and this is protected by the `m_exception_and_signal_mutex`. 👍

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


More information about the lldb-commits mailing list