diff options
author | Johnny Chen <johnny.chen@apple.com> | 2012-06-02 00:22:07 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2012-06-02 00:22:07 +0000 |
commit | 561e190a36c9fd4aae01c412cc715e67a3171a74 (patch) | |
tree | 4a9daab15b1e8bbaaa9cf6d28b2595a7c1a96f30 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | 63c0e2c58c0d403618d7bb048c0eb7fb89691829 (diff) | |
download | bcm5719-llvm-561e190a36c9fd4aae01c412cc715e67a3171a74.tar.gz bcm5719-llvm-561e190a36c9fd4aae01c412cc715e67a3171a74.zip |
Use Log::Printf() instead of printf().
llvm-svn: 157869
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index c5fc4affe32..fc83724fb25 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -237,7 +237,8 @@ GDBRemoteCommunication::SendPacketNoLock (const char *payload, size_t payload_le { if (GetAck () != '+') { - printf("get ack failed..."); + if (log) + log->Printf("get ack failed..."); return 0; } } |