[lldb-dev] [Bug 28455] New: Thread state not in sync with process state

via lldb-dev lldb-dev at lists.llvm.org
Thu Jul 7 08:22:18 PDT 2016


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

            Bug ID: 28455
           Summary: Thread state not in sync with process state
           Product: lldb
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: marius.trandafir at ni.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16710
  --> https://llvm.org/bugs/attachment.cgi?id=16710&action=edit
repro code snippet

When the process state is SBProcess::eStateStopped, both SBThread::IsSuspended
and SBThread::IsStopped return false [ thread.m_state is eStateUnloading and
thread.m_resume_state is eStateRunning ]

Is this the intended behavior ?

I used the attached code to reproduce the problem.
The debuggee can be a C/C++ "hello world" app.

-- 
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/20160707/a18dbc2c/attachment.html>


More information about the lldb-dev mailing list