[Lldb-commits] [lldb] r202782 - Fix a couple of typo's in breakpoint descriptions.

Jim Ingham jingham at apple.com
Mon Mar 3 19:09:01 PST 2014


Author: jingham
Date: Mon Mar  3 21:09:00 2014
New Revision: 202782

URL: http://llvm.org/viewvc/llvm-project?rev=202782&view=rev
Log:
Fix a couple of typo's in breakpoint descriptions.

Modified:
    lldb/trunk/source/Breakpoint/Breakpoint.cpp
    lldb/trunk/source/Breakpoint/BreakpointLocation.cpp

Modified: lldb/trunk/source/Breakpoint/Breakpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/Breakpoint.cpp?rev=202782&r1=202781&r2=202782&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/Breakpoint.cpp (original)
+++ lldb/trunk/source/Breakpoint/Breakpoint.cpp Mon Mar  3 21:09:00 2014
@@ -541,7 +541,7 @@ Breakpoint::GetDescription (Stream *s, l
     
     if (!m_kind_description.empty())
     {
-        if (eDescriptionLevelBrief)
+        if (level == eDescriptionLevelBrief)
         {
             s->PutCString (GetBreakpointKind());
             return;

Modified: lldb/trunk/source/Breakpoint/BreakpointLocation.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointLocation.cpp?rev=202782&r1=202781&r2=202782&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/BreakpointLocation.cpp (original)
+++ lldb/trunk/source/Breakpoint/BreakpointLocation.cpp Mon Mar  3 21:09:00 2014
@@ -626,7 +626,7 @@ BreakpointLocation::GetDescription (Stre
     if (exe_scope == NULL)
         exe_scope = target;
 
-    if (eDescriptionLevelInitial)
+    if (level == eDescriptionLevelInitial)
         m_address.Dump(s, exe_scope, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddress);
     else
         m_address.Dump(s, exe_scope, Address::DumpStyleLoadAddress, Address::DumpStyleModuleWithFileAddress);





More information about the lldb-commits mailing list