summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/lldbutil/frame/TestFrameUtils.py')
-rw-r--r--lldb/test/python_api/lldbutil/frame/TestFrameUtils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py b/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
index ff9723b4036..1fd337a78b1 100644
--- a/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
+++ b/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
@@ -33,15 +33,15 @@ class FrameUtilsTestCase(TestBase):
self.assertTrue(breakpoint, VALID_BREAKPOINT)
# Now launch the process, and do not stop at entry point.
- self.process = target.LaunchSimple(None, None, os.getcwd())
+ process = target.LaunchSimple(None, None, os.getcwd())
- if not self.process:
+ if not process:
self.fail("SBTarget.LaunchProcess() failed")
- self.assertTrue(self.process.GetState() == lldb.eStateStopped,
+ self.assertTrue(process.GetState() == lldb.eStateStopped,
PROCESS_STOPPED)
import lldbutil
- thread = lldbutil.get_stopped_thread(self.process, lldb.eStopReasonBreakpoint)
+ thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint)
frame0 = thread.GetFrameAtIndex(0)
frame1 = thread.GetFrameAtIndex(1)
parent = lldbutil.get_parent_frame(frame0)
OpenPOWER on IntegriCloud