[llvm-bugs] [Bug 28455] New: Thread state not in sync with process state

via llvm-bugs llvm-bugs 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 on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160707/503c9a15/attachment-0001.html>


More information about the llvm-bugs mailing list