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.

llvm-svn: 142227
diff --git a/lldb/scripts/Python/interface/SBWatchpoint.i b/lldb/scripts/Python/interface/SBWatchpoint.i
index 03e7edb..7525931 100644
--- a/lldb/scripts/Python/interface/SBWatchpoint.i
+++ b/lldb/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);
 };