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@lists.llvm.org
Reporter marius.trandafir@ni.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified
Created attachment 16710 [details]
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.