summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/sb_value.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/default-constructor/sb_value.py')
-rw-r--r--lldb/test/python_api/default-constructor/sb_value.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_value.py b/lldb/test/python_api/default-constructor/sb_value.py
index a82a3e38f78..d103551635f 100644
--- a/lldb/test/python_api/default-constructor/sb_value.py
+++ b/lldb/test/python_api/default-constructor/sb_value.py
@@ -34,8 +34,9 @@ def fuzz_obj(obj):
obj.GetDescription(stream)
obj.GetExpressionPath(stream)
obj.GetExpressionPath(stream, True)
- obj.Watch(True, True, False)
- obj.WatchPointee(True, False, True)
+ error = lldb.SBError()
+ obj.Watch(True, True, False, error)
+ obj.WatchPointee(True, False, True, error)
for child_val in obj:
print child_val
error = lldb.SBError()
OpenPOWER on IntegriCloud