summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-05-19 03:54:16 +0000
committerGreg Clayton <gclayton@apple.com>2011-05-19 03:54:16 +0000
commitaf247d7b98c9bfac07602907c34a4bf5bac806b0 (patch)
tree050933809c9aac94fd63199d49b32621993baad6 /lldb/source/Target/Thread.cpp
parent41025dc95bd215cf5aeb5e3eb675f835183e1f7e (diff)
downloadbcm5719-llvm-af247d7b98c9bfac07602907c34a4bf5bac806b0.tar.gz
bcm5719-llvm-af247d7b98c9bfac07602907c34a4bf5bac806b0.zip
Fixed a crasher that was happened when a log shared pointer wasn't valid.
Fixed ThreadPlanCallFunction::ReportRegisterState(...) to only dump when verbose logging is enabled and fixed the function to use the new RegisterValue method of reading registers. Fixed the GDB remote client to not send a continue packet after receiving stdout or stderr from the inferior process. llvm-svn: 131628
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 9f77e61dfb8..288694bfffd 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -266,7 +266,7 @@ Thread::ShouldStop (Event* event_ptr)
{
should_stop = current_plan->ShouldStop (event_ptr);
if (log)
- log->Printf("Base plan says should stop: %d.", current_plan->GetName(), should_stop);
+ log->Printf("Base plan says should stop: %i.", should_stop);
}
else
{
OpenPOWER on IntegriCloud