commit | a10207d098d61784f2657c732209dff6f88ffd43 | [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 | c6c430e5a9262eb28875c4e206afe2bec1cc7637 | |
parent | 5693e875ac7ac8d6ce1614da40e0b56f3f58716c [diff] |
Use Log::Printf() instead of printf(). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157869 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index c5fc4af..fc83724 100644 --- a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/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; } }