commit | 515ea543b6d9d9092ccd3bb0f27ecc5a837e23af | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Tue Sep 14 22:10:43 2010 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Tue Sep 14 22:10:43 2010 +0000 |
tree | d29dceaf0e56dbfcfe27c08f37f2489e899f56e6 | |
parent | 17454cfc6a757305a7d9d4c31313c38981b57b01 [diff] [blame] |
Added logging of an error message in GDBRemoteCommunication::SendPacketNoLock() if sending of the packet fails for any reason. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113874 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index e917804..bbd8f49 100644 --- a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -393,6 +393,10 @@ return 0; } } + else + { + ProcessGDBRemoteLog::LogIf (GDBR_LOG_PACKETS, "error: failed to send packet: %s", packet.GetData()); + } return bytes_written; } //m_error.SetErrorString("Not connected.");