[Lldb-commits] [lldb] r157869 - /lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
Johnny Chen
johnny.chen at apple.com
Fri Jun 1 17:22:07 PDT 2012
Author: johnny
Date: Fri Jun 1 19:22:07 2012
New Revision: 157869
URL: http://llvm.org/viewvc/llvm-project?rev=157869&view=rev
Log:
Use Log::Printf() instead of printf().
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp?rev=157869&r1=157868&r2=157869&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp Fri Jun 1 19:22:07 2012
@@ -237,7 +237,8 @@
{
if (GetAck () != '+')
{
- printf("get ack failed...");
+ if (log)
+ log->Printf("get ack failed...");
return 0;
}
}
More information about the lldb-commits
mailing list