Add a commnad to set a condition for a watchpoint.  Example:

    watchpoint modify -c 'global==5'

modifies the last created watchpoint so that the condition expression
is evaluated at the stop point to decide whether we should proceed with
the stopping.

Also add SBWatchpont::SetCondition(const char *condition) to set condition
programmatically.

Test cases to come later.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142227 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBWatchpoint.i b/scripts/Python/interface/SBWatchpoint.i
index 03e7edb..7525931 100644
--- a/scripts/Python/interface/SBWatchpoint.i
+++ b/scripts/Python/interface/SBWatchpoint.i
@@ -66,6 +66,12 @@
     void
     SetIgnoreCount (uint32_t n);
 
+    const char *
+    GetCondition ();
+
+    void 
+    SetCondition (const char *condition);
+    
     bool
     GetDescription (lldb::SBStream &description, DescriptionLevel level);
 };