summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-02-08 05:20:59 +0000
committerJim Ingham <jingham@apple.com>2011-02-08 05:20:59 +0000
commit0f16e73a76503fb252f36b90c2e1a7901ab6a9a4 (patch)
tree07ebe5ee9d4bc518a0b77af967d572b3aa1a4f57 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
parent87e5ff02a1248cf18c8ca7430df0ab7d55643e00 (diff)
downloadbcm5719-llvm-0f16e73a76503fb252f36b90c2e1a7901ab6a9a4.tar.gz
bcm5719-llvm-0f16e73a76503fb252f36b90c2e1a7901ab6a9a4.zip
Rework the RunThreadPlan event handling to use Event Hijacking not stopping the event thread. Also clarify the logic of the function.
llvm-svn: 125083
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
index 9467801500e..378b6347d21 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
@@ -13,6 +13,7 @@
#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/DataExtractor.h"
#include "lldb/Core/StreamString.h"
+#include "lldb/Core/State.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StopInfo.h"
@@ -88,6 +89,9 @@ ThreadGDBRemote::WillResume (StateType resume_state)
Thread::WillResume(resume_state);
int signo = GetResumeSignal();
+ lldb::LogSP log(lldb_private::GetLogIfAnyCategoriesSet (LIBLLDB_LOG_STEP));
+ if (log)
+ log->Printf ("Resuming thread: %4.4x with state: %s.", GetID(), StateAsCString(resume_state));
switch (resume_state)
{
OpenPOWER on IntegriCloud