diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-10-28 22:59:14 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-10-28 22:59:14 +0000 |
| commit | 490fbbe27076cb8ab6a0b5b253cabf1fd1a52de1 (patch) | |
| tree | a57e69e2d2f170b0396d699a720f7bc5166e0aea /lldb/tools/debugserver/source/DNBBreakpoint.cpp | |
| parent | a109e00bba2c582effc9114282ab7e00536248d2 (diff) | |
| download | bcm5719-llvm-490fbbe27076cb8ab6a0b5b253cabf1fd1a52de1.tar.gz bcm5719-llvm-490fbbe27076cb8ab6a0b5b253cabf1fd1a52de1.zip | |
Enabled the "printf" attribute on all debugserver logging functions and fixed
the ensuing mayhem.
llvm-svn: 143244
Diffstat (limited to 'lldb/tools/debugserver/source/DNBBreakpoint.cpp')
| -rw-r--r-- | lldb/tools/debugserver/source/DNBBreakpoint.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/lldb/tools/debugserver/source/DNBBreakpoint.cpp b/lldb/tools/debugserver/source/DNBBreakpoint.cpp index 355ada0ba1f..6d5c0de1478 100644 --- a/lldb/tools/debugserver/source/DNBBreakpoint.cpp +++ b/lldb/tools/debugserver/source/DNBBreakpoint.cpp @@ -77,34 +77,34 @@ DNBBreakpoint::Dump() const { if (IsBreakpoint()) { - DNBLog("DNBBreakpoint %u: tid = %4.4x addr = %8.8p state = %s type = %s breakpoint hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %8.8p baton = %8.8p", - m_breakID, - m_tid, - m_addr, - m_enabled ? "enabled " : "disabled", - IsHardware() ? "hardware" : "software", - GetHardwareIndex(), - GetHitCount(), - GetIgnoreCount(), - m_callback, - m_callback_baton); + DNBLog ("DNBBreakpoint %u: tid = %4.4x addr = 0x%llx state = %s type = %s breakpoint hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %p baton = %p", + m_breakID, + m_tid, + (uint64_t)m_addr, + m_enabled ? "enabled " : "disabled", + IsHardware() ? "hardware" : "software", + GetHardwareIndex(), + GetHitCount(), + GetIgnoreCount(), + m_callback, + m_callback_baton); } else { - DNBLog("DNBBreakpoint %u: tid = %4.4x addr = %8.8p size = %u state = %s type = %s watchpoint (%s%s) hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %8.8p baton = %8.8p", - m_breakID, - m_tid, - m_addr, - m_byte_size, - m_enabled ? "enabled " : "disabled", - IsHardware() ? "hardware" : "software", - m_watch_read ? "r" : "", - m_watch_write ? "w" : "", - GetHardwareIndex(), - GetHitCount(), - GetIgnoreCount(), - m_callback, - m_callback_baton); + DNBLog ("DNBBreakpoint %u: tid = %4.4x addr = 0x%llx size = %zu state = %s type = %s watchpoint (%s%s) hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %p baton = %p", + m_breakID, + m_tid, + (uint64_t)m_addr, + m_byte_size, + m_enabled ? "enabled " : "disabled", + IsHardware() ? "hardware" : "software", + m_watch_read ? "r" : "", + m_watch_write ? "w" : "", + GetHardwareIndex(), + GetHitCount(), + GetIgnoreCount(), + m_callback, + m_callback_baton); } } |

