summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py')
-rw-r--r--lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py b/lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
index 2076ea6b6c5..ffe770852e5 100644
--- a/lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
+++ b/lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
@@ -61,7 +61,8 @@ class WatchpointIgnoreCountTestCase(TestBase):
# Watch 'global' for read and write.
value = frame0.FindValue('global', lldb.eValueTypeVariableGlobal)
- watchpoint = value.Watch(True, True, True)
+ error = lldb.SBError();
+ watchpoint = value.Watch(True, True, True, error)
self.assertTrue(value and watchpoint,
"Successfully found the variable and set a watchpoint")
self.DebugSBValue(value)
OpenPOWER on IntegriCloud