[Lldb-commits] [lldb] r142396 - in /lldb/trunk/scripts/Python/interface: SBBreakpoint.i SBBreakpointLocation.i SBWatchpoint.i
Johnny Chen
johnny.chen at apple.com
Tue Oct 18 12:13:06 PDT 2011
Author: johnny
Date: Tue Oct 18 14:13:06 2011
New Revision: 142396
URL: http://llvm.org/viewvc/llvm-project?rev=142396&view=rev
Log:
Add docstrings for SetCondition() and GetCondition() APIs.
Modified:
lldb/trunk/scripts/Python/interface/SBBreakpoint.i
lldb/trunk/scripts/Python/interface/SBBreakpointLocation.i
lldb/trunk/scripts/Python/interface/SBWatchpoint.i
Modified: lldb/trunk/scripts/Python/interface/SBBreakpoint.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBBreakpoint.i?rev=142396&r1=142395&r2=142396&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBBreakpoint.i (original)
+++ lldb/trunk/scripts/Python/interface/SBBreakpoint.i Tue Oct 18 14:13:06 2011
@@ -128,9 +128,19 @@
uint32_t
GetIgnoreCount () const;
+ %feature("docstring", "
+ //--------------------------------------------------------------------------
+ /// The breakpoint stops only if the condition expression evaluates to true.
+ //--------------------------------------------------------------------------
+ ") SetCondition;
void
SetCondition (const char *condition);
+ %feature("docstring", "
+ //------------------------------------------------------------------
+ /// Get the condition expression for the breakpoint.
+ //------------------------------------------------------------------
+ ") GetCondition;
const char *
GetCondition ();
Modified: lldb/trunk/scripts/Python/interface/SBBreakpointLocation.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBBreakpointLocation.i?rev=142396&r1=142395&r2=142396&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBBreakpointLocation.i (original)
+++ lldb/trunk/scripts/Python/interface/SBBreakpointLocation.i Tue Oct 18 14:13:06 2011
@@ -50,9 +50,20 @@
void
SetIgnoreCount (uint32_t n);
+ %feature("docstring", "
+ //--------------------------------------------------------------------------
+ /// The breakpoint location stops only if the condition expression evaluates
+ /// to true.
+ //--------------------------------------------------------------------------
+ ") SetCondition;
void
SetCondition (const char *condition);
+ %feature("docstring", "
+ //------------------------------------------------------------------
+ /// Get the condition expression for the breakpoint location.
+ //------------------------------------------------------------------
+ ") GetCondition;
const char *
GetCondition ();
Modified: lldb/trunk/scripts/Python/interface/SBWatchpoint.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBWatchpoint.i?rev=142396&r1=142395&r2=142396&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBWatchpoint.i (original)
+++ lldb/trunk/scripts/Python/interface/SBWatchpoint.i Tue Oct 18 14:13:06 2011
@@ -66,9 +66,19 @@
void
SetIgnoreCount (uint32_t n);
+ %feature("docstring", "
+ //------------------------------------------------------------------
+ /// Get the condition expression for the watchpoint.
+ //------------------------------------------------------------------
+ ") GetCondition;
const char *
GetCondition ();
+ %feature("docstring", "
+ //--------------------------------------------------------------------------
+ /// The watchpoint stops only if the condition expression evaluates to true.
+ //--------------------------------------------------------------------------
+ ") SetCondition;
void
SetCondition (const char *condition);
More information about the lldb-commits
mailing list