[Lldb-commits] [lldb] r118002 - in /lldb/trunk/source/Commands: CommandObjectBreakpoint.cpp CommandObjectBreakpoint.h

Greg Clayton gclayton at apple.com
Mon Nov 1 20:02:38 PDT 2010


Author: gclayton
Date: Mon Nov  1 22:02:38 2010
New Revision: 118002

URL: http://llvm.org/viewvc/llvm-project?rev=118002&view=rev
Log:
Fixed the default file and line breakpoints to include inlined breakpoints.


Modified:
    lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp
    lldb/trunk/source/Commands/CommandObjectBreakpoint.h

Modified: lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp?rev=118002&r1=118001&r2=118002&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp Mon Nov  1 22:02:38 2010
@@ -52,7 +52,7 @@
     m_filename (),
     m_line_num (0),
     m_column (0),
-    m_ignore_inlines (false),
+    m_check_inlines (true),
     m_func_name (),
     m_func_name_type_mask (0),
     m_func_regexp (),
@@ -367,7 +367,7 @@
                         bp = target->CreateBreakpoint (&module_spec,
                                                        file,
                                                        m_options.m_line_num,
-                                                       m_options.m_ignore_inlines).get();
+                                                       m_options.m_check_inlines).get();
                         if (bp)
                         {
                             StreamString &output_stream = result.GetOutputStream();
@@ -391,7 +391,7 @@
                     bp = target->CreateBreakpoint (NULL,
                                                    file,
                                                    m_options.m_line_num,
-                                                   m_options.m_ignore_inlines).get();
+                                                   m_options.m_check_inlines).get();
             }
             break;
 

Modified: lldb/trunk/source/Commands/CommandObjectBreakpoint.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectBreakpoint.h?rev=118002&r1=118001&r2=118002&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectBreakpoint.h (original)
+++ lldb/trunk/source/Commands/CommandObjectBreakpoint.h Mon Nov  1 22:02:38 2010
@@ -99,7 +99,7 @@
         std::string m_filename;
         uint32_t m_line_num;
         uint32_t m_column;
-        bool m_ignore_inlines;
+        bool m_check_inlines;
         std::string m_func_name;
         uint32_t m_func_name_type_mask;
         std::string m_func_regexp;





More information about the lldb-commits mailing list