diff options
Diffstat (limited to 'lldb/test/python_api/watchpoint/TestSetWatchpoint.py')
| -rw-r--r-- | lldb/test/python_api/watchpoint/TestSetWatchpoint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/test/python_api/watchpoint/TestSetWatchpoint.py b/lldb/test/python_api/watchpoint/TestSetWatchpoint.py index e283ab0762c..124dec11cbd 100644 --- a/lldb/test/python_api/watchpoint/TestSetWatchpoint.py +++ b/lldb/test/python_api/watchpoint/TestSetWatchpoint.py @@ -61,7 +61,8 @@ class SetWatchpointAPITestCase(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) |

