[lldb-dev] [Bug 34594] New: Revisit the failure path for Process::Resume() to avoid leaking Stopped->Running->Stopped events

via lldb-dev lldb-dev at lists.llvm.org
Wed Sep 13 10:47:41 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34594

            Bug ID: 34594
           Summary: Revisit the failure path for Process::Resume() to
                    avoid leaking Stopped->Running->Stopped events
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: mosescu at google.com
                CC: llvm-bugs at lists.llvm.org

Jim Ingham re. https://reviews.llvm.org/D37651 :

"This looks okay for now.  It will end up sending a Running & then a Stopped
event.  That's a little awkward, but that happens in the ordinary course of
debugging anyway so it shouldn't freak anybody out.

It would be better to find a place where this can be fixed before we send the
running event, but that's going to take more thinking, and I don't see that
desire should block this patch.  But can you file another PR to go figure out
how to fix this closer to the source, so we don't forget to fix this next time
we're in the bowels of the process event code?"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170913/6cc12233/attachment.html>


More information about the lldb-dev mailing list