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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131628 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index 9f77e61..288694b 100644
--- a/source/Target/Thread.cpp
+++ b/source/Target/Thread.cpp
@@ -266,7 +266,7 @@
{
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
{