summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py')
-rw-r--r--lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py b/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
index f0e0433b989..96b5121488a 100644
--- a/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
+++ b/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
@@ -77,7 +77,7 @@ class HelloWatchLocationTestCase(TestBase):
self.expect(self.res.GetOutput().splitlines()[0], exe=False,
endstr = ' = 0')
- self.runCmd("watchpoint set expression -w write -x 4 -- &g_thread_1")
+ self.runCmd("watchpoint set expression -w write -x 4 -- &threads[0]")
# Use the '-v' option to do verbose listing of the watchpoint.
# The hit count should be 0 initially.
OpenPOWER on IntegriCloud