summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-09-03 17:10:42 +0000
committerGreg Clayton <gclayton@apple.com>2010-09-03 17:10:42 +0000
commit2cad65a595008e4c0b17ac2cfb59cadef87bfc38 (patch)
treec36d15c02e48217f109d222a05d3b4300359141e /lldb/source/Plugins/Process/gdb-remote
parent90ca316167817d05e22014d28f1e886e4a9d4a7a (diff)
downloadbcm5719-llvm-2cad65a595008e4c0b17ac2cfb59cadef87bfc38.tar.gz
bcm5719-llvm-2cad65a595008e4c0b17ac2cfb59cadef87bfc38.zip
Fixed the StackFrame to correctly resolve the StackID's SymbolContextScope.
Added extra logging for stepping. Fixed an issue where cached stack frame data could be lost between runs when the thread plans read a stack frame. llvm-svn: 112973
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index e8d596a413a..de941924633 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -951,6 +951,7 @@ ProcessGDBRemote::UpdateThreadListIfNeeded ()
if (log && log->GetMask().IsSet(GDBR_LOG_VERBOSE))
log->Printf ("ProcessGDBRemote::%s (pid = %i)", __FUNCTION__, GetID());
+ Mutex::Locker locker (m_thread_list.GetMutex ());
const uint32_t stop_id = GetStopID();
if (m_thread_list.GetSize(false) == 0 || stop_id != m_thread_list.GetStopID())
{
OpenPOWER on IntegriCloud