summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py b/lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py
index 515ab3f2bbd..c1ab00eee30 100644
--- a/lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py
+++ b/lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py
@@ -30,11 +30,11 @@ class TestInterruptThreadNames(TestBase):
launch_info = lldb.SBLaunchInfo(None)
error = lldb.SBError()
- lldb.debugger.SetAsync(True)
+ self.dbg.SetAsync(True)
process = target.Launch(launch_info, error)
self.assertTrue(process, PROCESS_IS_VALID)
- listener = lldb.debugger.GetListener()
+ listener = self.dbg.GetListener()
broadcaster = process.GetBroadcaster()
rc = broadcaster.AddListener(listener, lldb.SBProcess.eBroadcastBitStateChanged)
self.assertTrue(rc != 0, "Unable to add listener to process")
OpenPOWER on IntegriCloud