Simplify the verbose output of WatchpointLocation::DumpWithLevel().

llvm-svn: 141307
This commit is contained in:
Johnny Chen 2011-10-06 20:27:05 +00:00
parent c8ab2c1d99
commit 98a49d9b77
1 changed files with 12 additions and 6 deletions

View File

@ -126,12 +126,18 @@ WatchpointLocation::DumpWithLevel(Stream *s, lldb::DescriptionLevel description_
s->Printf("\n declare @ '%s'", m_decl_str.c_str());
if (description_level >= lldb::eDescriptionLevelVerbose)
if (m_callback)
s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %8p baton = %8p",
GetHardwareIndex(),
GetHitCount(),
GetIgnoreCount(),
m_callback,
m_callback_baton);
else
s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u",
GetHardwareIndex(),
GetHitCount(),
GetIgnoreCount());
}
bool