commit | 561e190a36c9fd4aae01c412cc715e67a3171a74 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Sat Jun 02 00:22:07 2012 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Sat Jun 02 00:22:07 2012 +0000 |
tree | 4a9daab15b1e8bbaaa9cf6d28b2595a7c1a96f30 | |
parent | 63c0e2c58c0d403618d7bb048c0eb7fb89691829 [diff] [blame] |
Use Log::Printf() instead of printf(). llvm-svn: 157869
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index c5fc4af..fc83724 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -237,7 +237,8 @@ { if (GetAck () != '+') { - printf("get ack failed..."); + if (log) + log->Printf("get ack failed..."); return 0; } }