Added a bit of logging around GDBRemoteCommunicationClient::SendGDBStoppointTypePacket.

llvm-svn: 219374
This commit is contained in:
Todd Fiala 2014-10-09 00:55:04 +00:00
parent c85d6f741c
commit 616b827ad0
1 changed files with 5 additions and 0 deletions

View File

@ -2971,6 +2971,11 @@ GDBRemoteCommunicationClient::GetThreadStopInfo (lldb::tid_t tid, StringExtracto
uint8_t
GDBRemoteCommunicationClient::SendGDBStoppointTypePacket (GDBStoppointType type, bool insert, addr_t addr, uint32_t length)
{
Log *log (GetLogIfAnyCategoriesSet (LIBLLDB_LOG_BREAKPOINTS));
if (log)
log->Printf ("GDBRemoteCommunicationClient::%s() %s at addr = 0x%" PRIx64,
__FUNCTION__, insert ? "add" : "remove", addr);
// Check if the stub is known not to support this breakpoint type
if (!SupportsGDBStoppointPacket(type))
return UINT8_MAX;