summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/frame
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-28 22:57:01 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-28 22:57:01 +0000
commite69c74832884db8166b379a04a87c9db91b2814e (patch)
tree40a9fe3ff26903bad945b260ab7f862275a62a7e /lldb/test/python_api/frame
parent8409bce4aca162fad81e43f84cece1b9b13cde77 (diff)
downloadbcm5719-llvm-e69c74832884db8166b379a04a87c9db91b2814e.tar.gz
bcm5719-llvm-e69c74832884db8166b379a04a87c9db91b2814e.zip
Modify the test suite and lldbutil.py to utilize the Python iteration pattern now that
the lldb iteration protocol has been added to lldb.py module. llvm-svn: 130452
Diffstat (limited to 'lldb/test/python_api/frame')
-rw-r--r--lldb/test/python_api/frame/TestFrames.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/test/python_api/frame/TestFrames.py b/lldb/test/python_api/frame/TestFrames.py
index 2ce9fd90d1e..038264ea2c1 100644
--- a/lldb/test/python_api/frame/TestFrames.py
+++ b/lldb/test/python_api/frame/TestFrames.py
@@ -80,8 +80,7 @@ class FrameAPITestCase(TestBase):
# in_scope_only => True
valList = frame.GetVariables(True, False, False, True)
argList = []
- from lldbutil import lldb_iter
- for val in lldb_iter(valList, 'GetSize', 'GetValueAtIndex'):
+ for val in valList:
#self.DebugSBValue(frame, val)
argList.append("(%s)%s=%s" % (val.GetTypeName(),
val.GetName(),
OpenPOWER on IntegriCloud