Fix a couple of typo's in breakpoint descriptions.

llvm-svn: 202782
This commit is contained in:
Jim Ingham 2014-03-04 03:09:00 +00:00
parent 6dfd4e156b
commit 8f63266569
2 changed files with 2 additions and 2 deletions

View File

@ -541,7 +541,7 @@ Breakpoint::GetDescription (Stream *s, lldb::DescriptionLevel level, bool show_l
if (!m_kind_description.empty()) if (!m_kind_description.empty())
{ {
if (eDescriptionLevelBrief) if (level == eDescriptionLevelBrief)
{ {
s->PutCString (GetBreakpointKind()); s->PutCString (GetBreakpointKind());
return; return;

View File

@ -626,7 +626,7 @@ BreakpointLocation::GetDescription (Stream *s, lldb::DescriptionLevel level)
if (exe_scope == NULL) if (exe_scope == NULL)
exe_scope = target; exe_scope = target;
if (eDescriptionLevelInitial) if (level == eDescriptionLevelInitial)
m_address.Dump(s, exe_scope, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddress); m_address.Dump(s, exe_scope, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddress);
else else
m_address.Dump(s, exe_scope, Address::DumpStyleLoadAddress, Address::DumpStyleModuleWithFileAddress); m_address.Dump(s, exe_scope, Address::DumpStyleLoadAddress, Address::DumpStyleModuleWithFileAddress);