mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
Fixed an issue with the pthread_setspecific() where we weren't NULL-ing out
the thread specific data and were destroying the thread specfic data more than once. Also added the ability to ask a lldb::StateType if it is stopped with an additional paramter of "must_exist" which means that the state must be a stopped state for a process that still exists. This means that eStateExited and eStateUnloaded will no longer return true if "must_exist" is set to true. llvm-svn: 144875
This commit is contained in:
@@ -452,7 +452,7 @@ SBDebugger::StateIsStoppedState (StateType state)
|
||||
{
|
||||
LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
|
||||
|
||||
const bool result = lldb_private::StateIsStoppedState (state);
|
||||
const bool result = lldb_private::StateIsStoppedState (state, false);
|
||||
if (log)
|
||||
log->Printf ("SBDebugger::StateIsStoppedState (state=%s) => %i",
|
||||
StateAsCString (state), result);
|
||||
|
||||
Reference in New Issue
Block a user