diff options
Diffstat (limited to 'lldb/scripts/Python/interface/SBWatchpoint.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBWatchpoint.i | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBWatchpoint.i b/lldb/scripts/Python/interface/SBWatchpoint.i index 75259310271..47177c740f7 100644 --- a/lldb/scripts/Python/interface/SBWatchpoint.i +++ b/lldb/scripts/Python/interface/SBWatchpoint.i @@ -66,9 +66,19 @@ public: 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); |