summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2019-04-25 20:03:39 +0000
committerJason Molenda <jmolenda@apple.com>2019-04-25 20:03:39 +0000
commit3775794812e582769e2ed1b53c00650a6b21387c (patch)
tree728b5f9d46a0cffc480391309f875ba038916e75 /lldb/packages/Python/lldbsuite/test/expression_command
parentceb71e887b8ed25594740ab7ac9419baf1e3c1e0 (diff)
downloadbcm5719-llvm-3775794812e582769e2ed1b53c00650a6b21387c.tar.gz
bcm5719-llvm-3775794812e582769e2ed1b53c00650a6b21387c.zip
Two tests were using the interactive convenience variable
lldb.debugger. They should not be. <rdar://problem/50210340> llvm-svn: 359234
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py
index 09b0eaaa2b1..2efe2df9550 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py
@@ -48,7 +48,7 @@ class Issue11581TestCase(TestBase):
# register r14 is an x86_64 extension let's skip this part of the test
# if we are on a different architecture
if self.getArchitecture() == 'x86_64':
- target = lldb.debugger.GetSelectedTarget()
+ target = self.dbg.GetSelectedTarget()
process = target.GetProcess()
frame = process.GetSelectedThread().GetSelectedFrame()
pointer = frame.FindVariable("r14")
OpenPOWER on IntegriCloud